开发者

Running python command line interpreter inside PyDev

In matlab, it is possible to execute a script (ie an m-file) and then manipulate the variables created by the script on the开发者_运维百科 command line.

Is it possible to run a .py file on PyDev and consequently, manipulate its variables inside eclipse as is possible in the case of matlab?


That's available through the PyDev interactive console. See: http://pydev.org/manual_adv_interactive_console.html

Another way would be executing some program in debug mode and inspecting variables in the console: http://pydev.org/manual_adv_debug_console.html


Yes, check the run configurations. You can add the script as a "Python Run".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜