20 May 2010

python实现请按任意键结束


python实现请按任意键结束...

# it works on Windows
# we can also find the corresponding system command on Linux
import os
os.system("pause")

No comments :

Post a Comment