How can I safely create a nested directory?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
You must login to ask question.
Using try except and the right error code from errno module gets rid of the race condition and is cross-platform: