RosettaCodeData/Task/Make-directory-path/Python/make-directory-path-3.py

3 lines
55 B
Python
Raw Permalink Normal View History

2015-02-20 09:02:09 -05:00
def mkdirp(path):
os.makedirs(path, exist_ok=True)