开发者

Does Python IDLE support sticky folder locations on File | Open?

I frequently open Python scripts using IDLE's File | Open.

The default location at which the file browser opens is about 5 clicks away from where my Python scripts are stored.

I would like to know how to change that default location?

Also, does IDLE have any concept of sticky folders (i.开发者_Go百科e. open at the same folder you chose last) that can be turned on?


As I recall there are no such thing inside idle. But you probably could solve such inconvenience with some external tools.
Why don't just create simlinks to your desired locations in default idle dir? It'll be only 1 click away.

On win you could change working directory in IDLE label property's.
Not sure about *nix but probably there are something similar.

Also generally idle is just python script. On win it's located at python PYTHONDIR/Lib/idlelib/idle.py: So you can simply run it in desired location:

cd D:/my_favorite_scripts
python C:/Python27/Lib/idlelib/idle.py
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜