Message111681
I want to explain "mkdir -p" as this:
We want to create a specified directory, if such a directory doesn't exist, then create it. If such a directory already exists, then we have already reached our goal, do nothing.
While we port this function to os.makedir(), there is a more specified information of the target directory, the "mode". If the target directory already exists but with a different mode, we need not create it, but we haven't reach our goal, yet. So we can raise a exception. |
|
Date |
User |
Action |
Args |
2010-07-27 03:36:47 | ysj.ray | set | recipients:
+ ysj.ray, gvanrossum, terry.reedy, zooko, ggenellina, draghuram, giampaolo.rodola, ijmorlan, eric.araujo, Arfrever |
2010-07-27 03:36:47 | ysj.ray | set | messageid: <1280201807.61.0.215862071041.issue9299@psf.upfronthosting.co.za> |
2010-07-27 03:36:45 | ysj.ray | link | issue9299 messages |
2010-07-27 03:36:45 | ysj.ray | create | |
|