-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerator_main.py
More file actions
63 lines (47 loc) · 1.29 KB
/
generator_main.py
File metadata and controls
63 lines (47 loc) · 1.29 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# modules
import subprocess
import os
import sys
from tabulate import tabulate
import pyfiglet
# banner
banner = pyfiglet.figlet_format("Random password generator")
print(banner)
print("")
# owner
text = """
Made with 💖 by THB
"""
table = [[text]]
output = tabulate(table, tablefmt='grid')
print(output)
print("")
# os
ossys = (sys.platform)
oslist = print(sys.platform)
# sysos = input("What is your OS? : ")
os.listdir()
# intro
print("Hello welcome to random password generator 1.0 VOL")
print("")
# start
print("[1] Special password")
print("[2] Numeric password")
print("")
subprocess_commands1 = "clear"
subprocess_commands2 = "cls"
select = input("Enter your option [default - special_password] : ")
if select == "":
subprocess.run(subprocess_commands1, shell=True)
subprocess.run(subprocess_commands2, shell=True)
from generator import *
elif select == "1":
subprocess.run(subprocess_commands1 , shell=True)
subprocess.run(subprocess_commands2, shell=True)
from generator import *
elif select == "2":
subprocess.run(subprocess_commands1 , shell=True)
subprocess.run(subprocess_commands2, shell=True)
from numeric import *
else:
print("Nothing found")