Creating and removing files and dirs with Python OS module


/ Published in: Python
Save to your folder(s)

Effbot's page on the os module: http://effbot.org/librarybook/os.htm

The os module has lots of methods for dealing with files and directories: http://docs.python.org/lib/os-file-dir.html

The shutil module: http://docs.python.org/lib/module-shutil.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.