简体   繁体   中英

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".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM