[Tutor] Move all files to top-level directory
Serdar Tumgoren
zstumgoren at gmail.com
Mon Apr 12 16:23:37 CEST 2010
What fine manual should I be reading? I am not asking for
> code, rather just a link to the right documentation.
>
You'll definitely want to explore the os module, part of Python's built-in
standard library.
http://docs.python.org/library/os.html
http://docs.python.org/library/os.html#files-and-directories
There are a bunch of recipes on ActiveState and elsewhere online that can
demonstrate how the os methods are used to work with files and directories.
Some googling for the various method names (eg. os.mkdir ) should turn them
up.
Best of luck,
Serdar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100412/4ea80c5b/attachment.html>
More information about the Tutor
mailing list