在脚本开头,输入:import os,在脚本结尾,输入:os.system("pause")
# hello.py
import os
name=raw_input("please enter your name:")
print "hello,",name
os.system("pause")
zhoudongquan 博主文章分类:python ©著作权
在脚本开头,输入:import os,在脚本结尾,输入:os.system("pause")
# hello.py
import os
name=raw_input("please enter your name:")
print "hello,",name
os.system("pause")
起因起初只想在 win7上实现 pause 效果而已cmd /c pause | out-null结果只能看到
双击tomcat 目录下的bin目录下的startup.bat如果看到Server startup
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M