Sorry, I don't know what is the "no constant arguments" guideline refers to. Could you give me some more explanation?

By the way, I feel adding separate functions is not quiet worthy for such a function.

On Tue, Jul 20, 2010 at 7:11 AM, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
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?



--
Ray Allen
Best wishes!