| | |
How to set default directory for saving files in Python IDLE
![]() |
•
•
Join Date: Jul 2006
Posts: 2
Reputation:
Solved Threads: 0
I am using Python IDLE 2.4.3 on Windows XP. I use File->New Window to create a new program. In the Save As dialog, it always takes me to the python program directory (where python is installed). Since this is not where I want to save my source file, I have to select the directory I want.Is there a way that I can have python always bring up the Save As dialog pointing to the directory of my choice? In other words, I would like to specify what I want the default directory for saving files to be.
In addition, is there a way to get IDLE to add the extension .py to the file name in the Save As dialog without my having to type it each time?
Thank you in advance for your help!
![]() |
Similar Threads
- How to set the path for directory (ASP.NET)
- setup.exe problem (Windows NT / 2000 / XP)
- how to set default focus on button in winform (C#)
- Internet Explorer - set as default browser (Web Browsers)
- PLS Help newbie (Java)
Other Threads in the Python Forum
- Previous Thread: Error trapping while reading windows XP registry entries
- Next Thread: Group a List of Dictionaries (Python)
| Thread Tools | Search this Thread |
abrupt ansi anti approximation assignment avogadro backend beginner binary bluetooth calculator character cmd code customdialog cx-freeze data decimals dictionaries dictionary directory dynamic error examples exe file float format function gnu graphics gui heads homework http ideas import input itunes java launcher leftmouse line linux list lists loop module mouse number numbers output parsing path pointer port prime programming progressbar projects push py2exe pygame pyglet pyqt python random recursion schedule screensaverloopinactive script scrolledtext sqlite ssh statistics string strings sudokusolver sum table terminal text thread threading time tlapse tricks tuple tutorial twoup ubuntu unicode urllib urllib2 variable ventrilo wikipedia write wxpython xlib






