Making directories with python

Stef Mientki stef.mientki at gmail.com
Sat Nov 29 06:45:49 EST 2008


Robert Singer wrote:
> I've been looking in the archives, but can't find anything similar.
> I'm trying to write a script which would make directories (winxp
> platform, py2.5) - actually, just one - a new directory with a date
> name. That is it would be called, for example: 20081129 (today's
> date).
>
> Are there any modules which could be helpful here ?
>   
os
> I don't have much literature on py, and the manual is a little hard to
> follow to me as a beginner, so I'm asking your help.
>
>   
    os.makedirs ( path )

cheers,
Stef
> I'd appreciate any advice you can give.
> Robert
> --
> http://mail.python.org/mailman/listinfo/python-list
>   




More information about the Python-list mailing list