Newbie: easiest way of renaming a file

Lars Hoeyrup Jensen robinhat at rhk.dk
Tue Mar 14 13:50:15 EST 2000


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




More information about the Python-list mailing list