file open default location

Richard Brodie R.Brodie at rl.ac.uk
Tue Jun 12 10:09:47 EDT 2007


"T. Crane" <tcrane at REMOVETHISuiuc.edu> wrote in message 
news:hxxbi.587$vi5.192 at newssvr17.news.prodigy.net...

> As an aside, I forgot to mention above that I'm using Windows XP.  Any other ideas or 
> possible reasons that it would not choose my script location as the default location to 
> save something?

If you open a DOS window and run Python from there, it will write the files
in whatever directory you were in when you typed the command.

If you are running Python directly from Windows, or from an IDE, it's up
to the OS or the IDE to decide what your default directory is. Often it
will be the home directory from your user profile. 





More information about the Python-list mailing list