quakeforge/tools/misc/spin.py

8 lines
193 B
Python
Raw Normal View History

2011-06-15 08:33:03 +00:00
import sys
import time
spinner = ("('-' )","(._. )","( ._. )","( ._.)","( '-')","( '-' )")
for i in range (24):
sys.stdout.write (spinner[i%6] + '\r')
sys.stdout.flush ()
time.sleep (1)