Ask Your Question
1

Run only part of the code

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

António SCP gravatar image

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

Wingware Admin gravatar image

Hi,

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

Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

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

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
1

answered 2018-03-03 03:30:00 -0500

Standard user gravatar image

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

2 followers

Stats

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

Seen: 250 times

Last updated: Mar 07