Huh, looks cool, I'm gonna try to port this to python.
Nice job, I was wanting to do something like this for a while.
+1
EDIT:
Here's what I've got [WIP]:
import sys
import time
def progbar(steps, timestep, beginbar, endbar, bartype, notbartype):
sys.stdout.write('')
for prog in range(1, steps):
progtext = ''
for i in range(1, prog):
progtext = progtext + bartype[i % len(bartype)]
progtext = progtext + notbartype * (steps - prog - 1)
sys.stdout.write('\r' + beginbar + progtext + endbar)
sys.stdout.flush()
time.sleep(timestep)
print '\n'
progbar(25, 0.1, '[', ']', '=--=', ' ')
progbar(25, 0.1, '[', ']', '_--_', ' ')
progbar(25, 0.1, '[', ']', '---^', ' ')
progbar(25, 0.1, '[', ']', ' -.- ', ' ')
progbar(25, 0.1, '[', ']', ' YOU ARE AN IDIOT! ', ' ')
progbar(25, 0.1, '[', ']', '........ LOADING .........', ' ')
progbar(25, 0.1, '[', ']', '=', ' ')
progbar(25, 0.1, '{', '}', '*', ' ')
progbar(25, 0.1, '(', ')', '#', '-')
progbar(25, 0.1, '<', '>', '.', '_')
progbar(25, 0.1, '/', '/', '/', '\\')
progbar(25, 0.1, '[', ']', '~', '-')
progbar(25, 0.1, ' ', ' ', '-', ' ')
progbar(25, 0.1, '|', '|', '-=', ' ')
raw_input('')
I want to make multithreaded with a screenlock and cool shit like that, but like I said, WIP.