Skip to content

Instantly share code, notes, and snippets.

@e1ven e1ven/gist:bb269423a7043e6fdc77 Secret
Last active Aug 29, 2015

Embed
What would you like to do?
Python 3.3.5 (default, Mar 16 2014, 23:11:30)
>>> import os
>>> os.mkdir(path="foo1")
>>> os.makedirs(path="foo2")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: makedirs() got an unexpected keyword argument 'path'
>>> os.makedirs("foo2")
>>>
Python 3.4.0 (v3.4.0:04f714765c13, Mar 15 2014, 23:02:41)
>>> import os
>>> os.mkdir(path="foo3")
>>> os.makedirs(path="foo4")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: makedirs() got an unexpected keyword argument 'path'
>>> os.makedirs("foo4")
>>> os.makedirs(name="foo5")
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.