Skip to content

Instantly share code, notes, and snippets.

@an9er
Created December 1, 2015 01:59
Show Gist options
  • Save an9er/5a8ab243cff1ef596a0b to your computer and use it in GitHub Desktop.
Save an9er/5a8ab243cff1ef596a0b to your computer and use it in GitHub Desktop.
import sys
import time
i = 0
while 1:
print "\rwait", "."*i,
sys.stdout.flush()
time.sleep(3)
i += 1
@an9er
Copy link
Author

an9er commented Dec 1, 2015

start: wait
9s later: wait ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment