[Tutor] Creating folders
Glenn T Norton
gtnorton at earthlink.net
Thu Jan 11 01:11:56 CET 2007
Toon Pieton wrote:
> Hey friendly users!
>
> My question is pretty simple. How can I create a folder with Python?
> Trying to make a program which will allow me to save my notes (txt
> files) quickly and cleanly. Having to create folder manually would
> really make it a bit obsolete.
>
> Thanks in advance!
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Tutor maillist - Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor
>
>
import os
os.mkdir(name_of_directory, permissions)
>>> print os.mkdir.__doc__
Glenn
--
"Ketchup. For the good times... " - Ketchup Advisory Board
Glenn Norton
Application Developer
Nebraska.gov
1-402-471-2777
glenn at nebraska.gov
More information about the Tutor
mailing list