Re: Behaviour of os.rename()

2009-03-11 Thread Rhodri James
On Wed, 11 Mar 2009 14:35:01 -, venutaurus...@gmail.com wrote: On Mar 11, 7:20 pm, Tim Golden wrote: venutaurus...@gmail.com wrote: > Hello all, >             I got a suspicion on the behaviour of os.rename > (src,dst).If the src is the path of a file and dst is a new filena

Re: Behaviour of os.rename()

2009-03-11 Thread venutaurus...@gmail.com
On Mar 11, 7:27 pm, Emile van Sebille wrote: > venutaurus...@gmail.com wrote: > > Hello all, > >             I got a suspicion on the behaviour of os.rename > > (src,dst).If the src is the path of a file and dst is a new filename > > this os.rename() function is infa

Re: Behaviour of os.rename()

2009-03-11 Thread venutaurus...@gmail.com
On Mar 11, 7:20 pm, Tim Golden wrote: > venutaurus...@gmail.com wrote: > > Hello all, > >             I got a suspicion on the behaviour of os.rename > > (src,dst).If the src is the path of a file and dst is a new filename > > this os.rename() function is infact creat

Re: Behaviour of os.rename()

2009-03-11 Thread Emile van Sebille
venutaurus...@gmail.com wrote: Hello all, I got a suspicion on the behaviour of os.rename (src,dst).If the src is the path of a file and dst is a new filename this os.rename() function is infact creating a new file with the dst name in the current working directory and leaving the

Re: Behaviour of os.rename()

2009-03-11 Thread Tim Golden
venutaurus...@gmail.com wrote: Hello all, I got a suspicion on the behaviour of os.rename (src,dst).If the src is the path of a file and dst is a new filename this os.rename() function is infact creating a new file with the dst name in the current working directory and leaving the

Behaviour of os.rename()

2009-03-11 Thread venutaurus...@gmail.com
Hello all, I got a suspicion on the behaviour of os.rename (src,dst).If the src is the path of a file and dst is a new filename this os.rename() function is infact creating a new file with the dst name in the current working directory and leaving the src as it is. Is this the expected