Python 2.7.8 学习笔记(003)python manuals/the python tutorial -- 2. Using the Python Interpreter
添加c:\python27到环境变量path
python -c command [arg] ...,
python -m module [arg] ...,
参数传递:the argv variable in the sys module
>>> //交互模式
用缩进表示语句块,可真不习惯
>>> the_world_is_flat = 1 >>> if the_world_is_flat: ... print "Be careful not to fall off!" ... Be careful not to fall off!
print语句前的缩进不可少