添加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语句前的缩进不可少
时间: 2024-10-01 04:49:57