-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
44 lines (39 loc) · 1.17 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from sqlite3 import Date
from modules.cep import Cep
from modules.cnpj import Cnpj
from modules.cpf import Cpf
from modules.telefonesBR import Celular, Telefone
from modules.dataHoje import Hoje
#--------------------------------------------------#
myCEP = "01311000"
CEP = Cep(myCEP)
print(CEP)
print(CEP.informations())
#--------------------------------------------------#
#--------------------------------------------------#
myCNPJ = "00573184000189"
CNPJ = Cnpj(myCNPJ)
print(CNPJ)
print(CNPJ.informations())
#--------------------------------------------------#
#--------------------------------------------------#
myCPF = "59530216076"
CPF = Cpf(myCPF)
print(CPF)
#--------------------------------------------------#
#--------------------------------------------------#
myCelular = "17997435399"
myTelefone = "1320295743"
CELULAR = Celular(myCelular)
TELEFONE = Telefone(myTelefone)
print(CELULAR)
print(TELEFONE)
#--------------------------------------------------#
#--------------------------------------------------#
hoje = Hoje()
print(hoje)
print(hoje.today_date())
print(hoje.now_hour())
print(hoje.month())
print(hoje.weekday())
#--------------------------------------------------#