inf-kswo/Animation/Wartesymbol.py
2025-01-20 19:41:45 +01:00

24 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