2006年06月16日 星期五 10:39
刚才发的代码不知道怎么错乱了。
import time
import sys
chars = "|/-\\"
for i in xrange(40):
sys.stdout.write(chars[i%4])
sys.stdout.flush()
time.sleep(0.1)
sys.stdout.write("\b")
--
I like Python & Linux.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060616/48918f52/attachment.htm
Zeuux © 2025
京ICP备05028076号