Guest User

Untitled

a guest
Apr 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. import sys
  4. import time
  5.  
  6. s = ('|', '/', '-', '\\', '|', '/', '-', '\\')
  7.  
  8. while 1:
  9. for i in s:
  10. sys.stdout.write(str(i)+"\r")
  11. sys.stdout.flush()
  12. time.sleep(0.1)
Add Comment
Please, Sign In to add comment