working with files and directories

Fredrik Lundh fredrik at pythonware.com
Mon Nov 27 07:36:45 EST 2006


"halex2000" wrote:

> Hi all, I'm new with Python, and I thought to use it to automatically rename some files in a 
> directory, but I don't know where should I search the functions: to get all the files of a 
> directory, to rename the files and so on.

see

    http://effbot.org/pyfaq/how-do-i-delete-a-file-and-other-file-questions.htm
    http://docs.python.org/tut/node12.html

and the relevant modules in the library reference.

</F> 






More information about the Python-list mailing list