Message7822

Author amak
Recipients amak, dchrome, fwierzbicki
Date 2013-02-26.23:20:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361920806.36.0.400288856643.issue2014@psf.upfronthosting.co.za>
In-reply-to
Content
The mkdir call does not create intermediate directories.

http://docs.python.org/2/library/os.html

Does the intermediate directory "\\temp" exist on your machine?

If it does not, and you want to create 2 directories, i.e. "\\temp" and then create "ddir" inside it, then use the os.makedirs function, which "recursively ... makes all intermediate-level directories needed to contain the leaf directory. Raises an error exception if the leaf directory already exists or cannot be created."

http://docs.python.org/2/library/os.html
History
Date User Action Args
2013-02-26 23:20:06amaksetmessageid: <1361920806.36.0.400288856643.issue2014@psf.upfronthosting.co.za>
2013-02-26 23:20:06amaksetrecipients: + amak, fwierzbicki, dchrome
2013-02-26 23:20:06amaklinkissue2014 messages
2013-02-26 23:20:06amakcreate