在脚本开头,输入:import os,在脚本结尾,输入:os.system("pause")
# hello.py
import os
name=raw_input("please enter your name:")
print "hello,",name
os.system("pause")
转载于:https://blog.51cto.com/5870122/1679812
在脚本开头,输入:import os,在脚本结尾,输入:os.system("pause")
# hello.py
import os
name=raw_input("please enter your name:")
print "hello,",name
os.system("pause")
转载于:https://blog.51cto.com/5870122/1679812