Making directory in cgi!
f.marani at REMOVETHIStin.it
Sat Sep 28 16:32:47 CEST 2002
use os.mkdir() in os module
if the directory exists, it will probably generate an exception, look at the
"CheapSkate" <gua81 at XXXyahoo.com> ha scritto nel messaggio
news:an15s8$slv$1 at lust.ihug.co.nz...
> and one more thing......
> what's going to happen if let say, the directory simpsons already exist
> inside homer.
> What will happen to the files inside simpsons???
> "CheapSkate" <gua81 at XXXyahoo.com> wrote in message
> news:an15gg$s3h$1 at lust.ihug.co.nz...
> > HI,
> > let say my createdir.cgi is in
> > /bug/ger/createdir.cgi
> > and doing ls in /bug/ger/ will list out
> > .
> > ..
> > (file)createdir.cgi
> > (dir)homer
> > how do I create directory inside homer?
> > like homer/simpsons/
> > ???
> > what are the library that I need to import?
> > Thanks......
> > (I know this is a simple Q, so please excuse me... im a newbiee)
More information about the Python-list