浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

executable - run program in Python shell - Stack Overflow

f you're wanting to run the script and end at a prompt (so you can inspect variables, etc), then use:

python -i test.py

That will run the script and then drop you into a Python interpreter.

link|flag
posted on 2012-04-19 19:48  lexus  阅读(292)  评论(0)    收藏  举报