4 ms·While we're on the topic, in Python there's a nice way to deal with this: os.makedirs(path, exist_ok=True)by uneekname 4y agoWhile we're on the topic, in Python there's a nice way to deal with this: os.makedirs(path, exist_ok=True)