在脚本开头,输入:import os,在脚本结尾,输入:os.system("pause")
# hello.py
import os
name=raw_input("please enter your name:")
print "hello,",name
os.system("pause")
时间: 2024-10-29 13:49:01
在脚本开头,输入:import os,在脚本结尾,输入:os.system("pause")
# hello.py
import os
name=raw_input("please enter your name:")
print "hello,",name
os.system("pause")