Newbie: easiest way of renaming a file
Mike Fletcher
mfletch at tpresence.com
Tue Mar 14 14:06:07 EST 2000
Index of modules (including the os module)
http://www.python.org/doc/current/modindex.html
Documentation index...
http://www.python.org/doc/current/lib/genindex.html#letter-r
The particular function os.rename ...
http://www.python.org/doc/current/lib/os-file-dir.html#l2h-859
Enjoy,
Mike
-----Original Message-----
From: Lars Hoeyrup Jensen [mailto:robinhat at rhk.dk]
Sent: Tuesday, March 14, 2000 1:50 PM
To: python-list at python.org
Subject: Newbie: easiest way of renaming a file
I want to rename a lot of files with a Python-program. Is it necessary
to read the whole file, write it to a new file and then delete the
original file?
I have tried to search the newsgroup archives but couldn't find
anything.
TIA,
Lars
--
http://www.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list