-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
61 lines (48 loc) · 3.54 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
45
46
47
48
49
50
51
52
53
54
55
56
57
import datetime as dt
from time import *
import pytz
import os
global Layers
Layers=[["🟥🟥🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟨🟥🟥🟥🟥","🟥🟨🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟨🟥🟥🟥🟥","🟥🟨🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟨🟥🟥🟥🟥","🟥🟨🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥🟥🟥","🟥🟨🟨🟨🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟥🟥🟥🟨🟥","🟥🟨🟨🟨🟨🟥","🟥🟥🟥🟥🟥🟥"],
["🟥🟥🟥🟥","🟥🟥🟥🟥","🟥🟨🟨🟥","🟥🟨🟨🟥","🟥🟥🟥🟥","🟥🟨🟨🟥","🟥🟨🟨🟥","🟥🟥🟥🟥","🟥🟥🟥🟥"]]
def MakeScreen(TList):
global Layers
x=0
print("⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛")
while x!=9:
for i in TList:
print(Layers[int(i)][x],end="")
x=x+1
print()
print("⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛")
print("This Is Based on IST i.e. Indian Standard Time")
sleep(3)
os.system("clear")
GetTime()
def GetTime():
T=[]
CT=dt.datetime.now(pytz.timezone('Asia/Kolkata'))
if len(str(CT.hour))!=2:
T.append(str(0))
T.append(str(CT.hour))
else:
for i in str(CT.hour):
T.append(i)
T.append(str(10))
if len(str(CT.minute))!=2:
T.append(str(0))
T.append(str(CT.minute))
else:
for i in str(CT.minute):
T.append(i)
MakeScreen(T)
GetTime()