Ask Your Question

Run only part of the code

asked 2018-03-02 20:40:00 -0600

António SCP's avatar

updated 2019-03-13 08:35:06 -0600

Wingware Admin's avatar


Is possible to run Python code only the code that is selected with mouse? Like in RStudio?


edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-03-05 08:52:00 -0600

You can also select a range, press the "Set Active Range" button in the Python Shell (top right icon with + sign) and then the cog icon that appears will re-execute that range regardless of selection, as a way to more easily retry things while editing code in the editor.

edit flag offensive delete link more

answered 2018-03-03 03:30:00 -0600

Standard user's avatar

Right click on selection -> Evaluate Selection in Python Shell?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-03-02 20:40:00 -0600

Seen: 28,552 times

Last updated: Mar 07 '19