Re: file open default location

2007-06-12 Thread T. Crane
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > En Tue, 12 Jun 2007 11:48:32 -0300, <[EMAIL PROTECTED]> escribió: >> On Jun 12, 9:09 am, "Richard Brodie" <[EMAIL PROTECTED]> wrote: > >>> If you open a DOS window and run Python from there, it will write the >>> f

Re: file open default location

2007-06-12 Thread Gabriel Genellina
En Tue, 12 Jun 2007 11:48:32 -0300, <[EMAIL PROTECTED]> escribió: > On Jun 12, 9:09 am, "Richard Brodie" <[EMAIL PROTECTED]> wrote: >> 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

Re: file open default location

2007-06-12 Thread kyosohma
On Jun 12, 9:09 am, "Richard Brodie" <[EMAIL PROTECTED]> wrote: > "T. Crane" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > 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 locat

Re: file open default location

2007-06-12 Thread Tim Golden
T. Crane wrote: > myFile = file('test.txt','w') > > Here I'm opening/creating a file but I have not specified the exact path, so > how does Python determine where to 'put' this file? More to the point, how > do I change what the default path is? Right now it's a networked drive that > should

Re: file open default location

2007-06-12 Thread T. Crane
>> 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 d

Re: file open default location

2007-06-12 Thread Richard Brodie
"T. Crane" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 wi

Re: file open default location

2007-06-12 Thread T. Crane
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Jun 12, 8:42 am, "T. Crane" <[EMAIL PROTECTED]> wrote: >> Hi, >> >> How is the default path chosen in this instance: >> >> myFile = file('test.txt','w') >> >> Here I'm opening/creating a file but I have not specified the exact path,

Re: file open default location

2007-06-12 Thread kyosohma
On Jun 12, 8:42 am, "T. Crane" <[EMAIL PROTECTED]> wrote: > Hi, > > How is the default path chosen in this instance: > > myFile = file('test.txt','w') > > Here I'm opening/creating a file but I have not specified the exact path, so > how does Python determine where to 'put' this file? More to the

file open default location

2007-06-12 Thread T. Crane
Hi, How is the default path chosen in this instance: myFile = file('test.txt','w') Here I'm opening/creating a file but I have not specified the exact path, so how does Python determine where to 'put' this file? More to the point, how do I change what the default path is? Right now it's a ne