Re: [Tutor] an alternative to shutil.move()?

2006-10-16 Thread Tim Golden
| Alfonso <[EMAIL PROTECTED]> wrote: | | > Is there an alternative in python to use shutil.move()? | > | > It copies the files and then removes the source file insted of just | > moving directly the file (don't know much about file systems, but I | > suppose that when you move using the shell,

Re: [Tutor] an alternative to shutil.move()?

2006-10-16 Thread Michael Lange
On Mon, 16 Oct 2006 01:16:19 +0200 Alfonso <[EMAIL PROTECTED]> wrote: > Is there an alternative in python to use shutil.move()? > > It copies the files and then removes the source file insted of just > moving directly the file (don't know much about file systems, but I > suppose that when you m

Re: [Tutor] an alternative to shutil.move()?

2006-10-15 Thread Alfonso
Chris Lasher escribió: > How about os.rename > > http://docs.python.org/lib/os-file-dir.html > > On 10/15/06, Alfonso <[EMAIL PROTECTED]> wrote: >> Is there an alternative in python to use shutil.move()? > That's exactly what I was looking for. Thank you very much. Don't know how I didn't find it

[Tutor] an alternative to shutil.move()?

2006-10-15 Thread Alfonso
Is there an alternative in python to use shutil.move()? It copies the files and then removes the source file insted of just moving directly the file (don't know much about file systems, but I suppose that when you move using the shell, if both source and destination are in the same partition, i