Run only part of the code


205
views
0
6 months ago by
Hi,

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

Thanks!

2 Answers


2
6 months ago by
Right click on selection -> Evaluate Selection in Python Shell?
0
6 months ago by
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.
Please login to add an answer/comment or follow this question.

Similar posts:
Search »