4 ms·
It returns an error if the directory already exists (same as in Python)
by okasaki 4y ago
It returns an error if the directory already exists (same as in Python)
- 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)