hello_world_with_pause.py
来自「python编程很好的入门材料,包括讲义和源码.」· Python 代码 · 共 10 行
PY
10 行
#-------------------------------------------------------------------------------
# Scripts can also be executed by simply double-clicking them, Unfortunately,
# they often run too quick too see anything so you'll need to use a function
# like raw_input to pause the script before it closes the console.
#-------------------------------------------------------------------------------
print "Hello World!"
raw_input( "\nPress Enter to exit..." )
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?