sandboxing/running python code line by line

后端 未结 7 1327
遥遥无期
遥遥无期 2020-12-14 03:50

I\'d love to be able to do something like these two are doing:

Inventing on principle @18:20 , Live ClojureScript Game Editor

If you don\'t wanna check the v

7条回答
  •  隐瞒了意图╮
    2020-12-14 04:13

    I see you've come up with something that works for you, but thought it would be worth mentioning 'pyscripter'. http://code.google.com/p/pyscripter/

    I'm pretty new to python, but I'm finding it very useful to
    simply click past the line that has a variable I want to check,
    then press f4 to run it in a debugger mode.
    After that I can just hover the mouse over the variable and it pops up
    a tooltip that has the variable's values.

    You can also single step through the script with f7 as described here:
    http://openbookproject.net/thinkcs/python/english3e/functions.html#flow-of-execution
    (see 'Watch the flow of execution in action')

    Although when I followed the example it still stepped into the turtle module for some reason.

提交回复
热议问题