Active Ranges in the Python Shell


Code in an editor can be marked as the active range for the Python Shell, in order to make it easier to reevaluate after it is edited. This is done by selecting a range of lines in the editor and pressing the Set Active Range icon at the top right of the Python Shell.

Once a range is set, additional icons appear to execute or debug the active range, jump to the active range in the editor, or clear the active range.

The active range is marked in the editor and will adjust its position and extent as code is added or deleted.