How to prevent python IDLE from restarting when running new script

前端 未结 2 663
一生所求
一生所求 2021-01-07 07:12

I use Python 3.6.1 IDLE. I\'d like to be able to run a sequence of scripts while maintaining the local environment (variables etc.) just as if I had entered all the commands

2条回答
  •  走了就别回头了
    2021-01-07 07:37

    Added June 2019: On the editor Run menu, Run... Customized opens a dialog with [X] Restart. Uncheck that box and the restart is skipped.

提交回复
热议问题