-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStartTemplateQRcode.py
More file actions
23 lines (20 loc) · 930 Bytes
/
StartTemplateQRcode.py
File metadata and controls
23 lines (20 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def startTemplate():
from termcolor2 import c
while True:
print(c(""" ____ _____ _
/ __ \\ | __ \\ | |
| | | | | |__) | ___ ___ __| | ___
| | | | | _ / / __| / _ \\ / _` | / _ \\
| |__| | | | \\ \\ | (__ | (_) | | (_| | | __/
\\___\\_\\ |_| \\_\\ \\___| \\___/ \\__,_| \\___|
""").blue.blink)
print(c("\n\n|_/1.CREATE").green.bold)
print(c("|_/2.SCAN").green.bold)
print(c(" |Enter 1 For Creating A QRcode Or 2 For Scanning A Image:").cyan)
num = input(c(" -->").red)
try:
num = int(num)
except:
pass
if num == 1 or num == 2:
return num