Upload code
This commit is contained in:
24
Animation/Wartesymbol.py
Executable file
24
Animation/Wartesymbol.py
Executable file
@@ -0,0 +1,24 @@
|
||||
import time
|
||||
import os
|
||||
|
||||
strich = 1
|
||||
|
||||
|
||||
while True:
|
||||
for i in range(4):
|
||||
print("Please wait...")
|
||||
if strich == 1:
|
||||
print("\t-", end="\r")
|
||||
time.sleep(0.5)
|
||||
elif strich == 2:
|
||||
print("\t\\", end="\r")
|
||||
time.sleep(0.5)
|
||||
elif strich == 3:
|
||||
print("\t|", end="\r")
|
||||
time.sleep(0.5)
|
||||
else:
|
||||
print("\t/", end="\r")
|
||||
time.sleep(0.5)
|
||||
os.system( 'clear' )
|
||||
strich += 1
|
||||
strich = 1
|
||||
Reference in New Issue
Block a user