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".
精彩评论