Last active
December 17, 2015 02:39
-
-
Save artizirk/5537413 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
#LICENSE: WTFPL | |
#DEPENDS: on this cool font from http://asdasd.rpg.fi/~svo/glasstty/ | |
#TODO: port to Python3 | |
from time import sleep | |
from sys import stdout | |
anim = ["|", "/", "-", "\\"] | |
while True: | |
for c in anim: | |
print "Loading (0 %)", c, "\r", | |
stdout.flush() | |
sleep(0.1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment