There really is no hope of making this code even half-way decent without spending the time to rewrite them all properly. Don't want to do any of that
25 lines
532 B
Python
Executable File
25 lines
532 B
Python
Executable File
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
|