Default save path for Python IDLE?

后端 未结 11 1248
自闭症患者
自闭症患者 2020-12-18 00:36

Does anyone know where or how to set the default path/directory on saving python scripts prior to running?

On a Mac it wants to save them in the top level ~/

11条回答
  •  借酒劲吻你
    2020-12-18 01:35

    In Windows 10+, click the Windows Start button, then type idle, and then right-click on the IDLE desktop app and open the file location. This should bring you to the Start Menu shortcuts for Python, and you'll find a shortcut to IDLE there. Right-click on the IDLE shortcut and select properties. Set the "Start in" directory to be where you want default save path to be.

提交回复
热议问题