Skip to content Skip to sidebar Skip to footer

Does Any Python Ide Let You Run A Selection Of Code Like R Does?

I think this is a very useful feature for beginners. When I learned R, I would keep my notes for each lesson in one file and execute the lines that I wanted. Now I'm learning Pytho

Solution 1:

In PyCharm, select a code fragment you want to execute then choose "Execute selection in console" (Alt+Shift+E in my keymap).

Solution 2:

ipython notebook does a good job of this. Good for learning, and code exploration.

Unfortunately, it's a bit of a pain to setup. If you're just getting started you might want to consider installing the pythonXY package of python, it includes ipython notebook and a bunch of other useful libraries in addition to the standard libraries.

Here's a good introduction (ipython notebook starts at about 1:15:45):

http://www.youtube.com/watch?v=2G5YTlheCbw

Solution 3:

PyScripter supports selective execution(Ctrl+F7) along with loads of other features among which are Regular Expressions Tester, Unit Testing, Debugging(using watches) and all the other features an IDE must possess.

Solution 4:

Wing IDE can do this task for you.

Post a Comment for "Does Any Python Ide Let You Run A Selection Of Code Like R Does?"