Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. import time
  2. import sys
  3.  
  4. toolbar_width = 50
  5.  
  6. sys.stdout.write("Jaqueando Banco de A. Edwards...\n")
  7. sys.stdout.write("[%s]" % (" " * toolbar_width))
  8. sys.stdout.flush()
  9. sys.stdout.write("\b" * (toolbar_width+1))
  10.  
  11. for i in range(0, toolbar_width):
  12.     time.sleep(0.2)
  13.     sys.stdout.write("#")
  14.     sys.stdout.flush()
  15.  
  16. sys.stdout.write("]\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement