First time here? Check out the FAQ!
1

Run only part of the code

Hi,

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

Thanks!

António SCP's avatar
11
António SCP
asked 2018-03-02 20:40:00 -0600
Wingware Admin's avatar
231
Wingware Admin
updated 2019-03-13 08:35:06 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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

Standard user's avatar
46
Standard user
answered 2018-03-03 03:30:00 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

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.

Wingware Support's avatar
4.2k
Wingware Support
answered 2018-03-05 08:52:00 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer