file open default location
kyosohma at gmail.com
kyosohma at gmail.com
Tue Jun 12 10:48:32 EDT 2007
On Jun 12, 9:09 am, "Richard Brodie" <R.Bro... at rl.ac.uk> wrote:
> "T. Crane" <tcr... 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.
Oops. My bad. I didn't know that the IDE behaved differently than the
DOS window.
Mike
More information about the Python-list
mailing list