This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Evento: | |
| def __init__(self, nome): | |
| self.nome = nome | |
| class Funcao: | |
| def __init__(self, nome, acao): | |
| self.nome = nome | |
| self.acao = acao |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import yaml | |
| def locate_phone_number( s, country_code='1', region_code='650', region_digits=7, internal_digits=4, country_digits=10, locations={}, **kwargs ): | |
| s = str(s) | |
| # internal number | |
| if len(s) == internal_digits: | |
| return 'internal', None, s |
OlderNewer