Default save path for Python IDLE?

后端 未结 11 1249
自闭症患者
自闭症患者 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:24

    I actually just discovered the easiest answer, if you use the shortcut link labeled "IDLE (Python GUI)". This is in Windows Vista, so I don't know if it'll work in other OS's.

    1) Right-click "Properties".

    2) Select "Shortcut" tab.

    3) In "Start In", write file path (e.g. "C:\Users...").

    Let me know if this works!

提交回复
热议问题