Пример #1
0
def main():
    print(f'''{G}
\n
               ██████╗  █████╗ ██╗███╗   ██╗███████╗██╗     
               ██╔══██╗██╔══██╗██║████╗  ██║██╔════╝██║     
               ██████╔╝███████║██║██╔██╗ ██║█████╗  ██║     
               ██╔═══╝ ██╔══██║██║██║╚██╗██║██╔══╝  ██║     
               ██║     ██║  ██║██║██║ ╚████║███████╗███████╗
               ╚═╝     ╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝╚══════╝╚══════╝
''')

    print(f'''
{C}[{G}JB{C}] Formas de operação: 

[{G}1{C}] IP.
[{G}2{C}] CPF.
[{G}3{C}] CEP.
[{G}4{C}] CNPJ.
[{G}5{C}] Placa.
[{G}6{C}] Telefone.
[{G}7{C}] {R}Sair.{C}
''')
    tool = input(f'{C}[{G}+{C}] Selecione a forma de operação:{B} ')
    if tool == "1":
        os.system('cls')
        import ip
        ip.main()
    elif tool == "2":
        os.system('cls')
        import cpf
        cpf.main()
    elif tool == "3":
        os.system('cls')
        import cep
        cep.main()
    elif tool == "4":
        os.system('cls')
        import cnpj
        cnpj.main()
    elif tool == "5":
        os.system('cls')
        import placa
        placa.main()
    elif tool == "6":
        os.system('cls')
        import telefone
        telefone.main()
    elif tool == "7":
        os.system("cls")
        print(f'\n{G}JhinBase.{C}\n')
        exit()
    else:
        os.system("cls")
        print(f'{C}[{R}-{C}] Seleção inválida.')
        time.sleep(0.2)
        main()
Пример #2
0
def main():
  clear()
  v = "1.0.3"
  print(f'''{G}
\n
.----.______
|           |
|    ___________
|   /          /
|  /          /
| /          /
|/__________/ {v}
{C}
 ''')
  print(f"{Y}Atual: {version}{C}")

  print("\n" + code_info + "Menu.")

  print(f'''
{C}[{G}i{C}] Formas de operação:

[{G}1{C}] IP.
[{G}2{C}] Nome.
[{G}3{C}] CPF.
[{G}4{C}] Vizinhos.
[{G}5{C}] CEP.
[{G}6{C}] CNPJ.
[{G}7{C}] Placa.
[{G}8{C}] Telefone.
[{G}9{C}] BIN.
[{G}10{C}] Gerador.
[{G}11{C}] YouTube.

[{G}44{C}] Atualizar.
[{G}55{C}] Novidades.
[{G}66{C}] Ajuda.
[{G}00{C}] {R}Sair.{C}
''')
  tool=input(f'{C}[{G}+{C}] Selecione a forma de operação:{B} ')
  if tool == "1":
     clear()
     import ip
     ip.main()
  elif tool == "2":
     clear()
     import nome
     nome.main()
  elif tool == "3":
     clear()
     import cpf
     cpf.main()
  elif tool == "4":
     clear()
     import vizinhos
     vizinhos.main()
  elif tool == "5":
     clear()
     import cep
     cep.main()
  elif tool == "6":
     clear()
     import cnpj
     cnpj.main()
  elif tool == "7":
     clear()
     import placa
     placa.main()
  elif tool == "8":
     clear()
     import telefone
     telefone.main()
  elif tool == "9":
     import bin
     bin.main()
  elif tool == "10":
     import gerador
     gerador.main()
  elif tool == "11":
     youtube()
     main()
  elif tool == "44":
         print(code_result + "Abrindo o tutorial de como atualizar no YouTube...")
         time.sleep(2)
         youtube()
         main()

  elif tool == "55":
     import novidades
     novidades.main()
  elif tool == "66":
     import ajuda
     ajuda.main()
  elif tool == "00":
     clear()
     print(f'\n{G}Ola.{C}\n')
     exit()
  else:
     clear()
     print(f'{C}[{R}-{C}] Seleção inválida.')
     time.sleep(0.2)
     main()