Making directories with python

R

Robert Singer

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 ?
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.

I'd appreciate any advice you can give.
Robert
 
S

Stef Mientki

Robert said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,734
Latest member
manin

Latest Threads

Top