jcarlson at nospam.uci.edu
Sun Jan 25 07:04:36 CET 2004
> I was wondering if anyone has done any simple text-based animation?
> I mean things such as text-based pre-loaders. One example would be
> when you use the *nix utility called `wget.` You get that fancy "
> ====> " type of animation as you download a large file. Or maybe even
> a rotating " | " that I have seen before in some installation
> Any ideas how these effects can be achieved?
> Thanks a lot!
Yeah, don't print linefeed ('\n') characters, only print carriage
for i in xrange(75):
print '*'*i, '\r',
More information about the Python-list