[Python-Dev] mkdir -p in python (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jul 20 01:11:19 CEST 2010
- Previous message: [Python-Dev] mkdir -p in python
- Next message: [Python-Dev] mkdir -p in python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ray Allen wrote:
I think both os.mkdir() and os.makedirs() should add a keyword argument to suppress the "OSError: [Errno 17] File exists".
This could be seen as violating the "no constant arguments" guideline. Maybe separate function would be better?
-- Greg
- Previous message: [Python-Dev] mkdir -p in python
- Next message: [Python-Dev] mkdir -p in python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]