os.mkdir()

Holger Jannsen holger at phoenix-edv.netzservice.de
Wed Jun 9 09:35:38 EDT 1999


Another problem about this:

[source:]
thePath = "c:\\test"
aMode = "0777"
print "...updating filesystem: creating [%s](%s)" % (thePath, aMode)
os.makeDirs(thePath, aMode)

[result and error message:]
...updating filesystem: creating [c:\test](0777)
Traceback (innermost last):    
os.makeDirs(thePath, aMode)
AttributeError: makeDirs

What am I doing wrong?
(There's no problem at python-command-line-interpreter!?!)


Thanx for any hints!

Ciao,
Holger




More information about the Python-list mailing list