Creating directories

srinivasan srinivas sri_annauni at
Fri Sep 5 07:44:04 CEST 2008

Can someone tell me is there any module available to create directories??

I tried os, tempfile.
I was facing some issues with os.mkdir(). The mode setting was not proper with this method.

I created the directory 'stdin' with '0700' mode using os.mkdir() method.
$> ls -alR stdin/
total 12
drwx--S---   2 munisams munisams 4096 Sep  3 02:00 .
What is that 'S' in the group permission field??


      Unlimited freedom, unlimited storage. Get it now, on

More information about the Python-list mailing list