Questions
Log in
Sign up
Home
Questions
Tags
Public Questions for tag [operating-system]
Ask Question
1 questions
0
Vote
4
Answers
20
View
How can I safely create a nested directory?
What is the most elegant way to check if the directory a file is going to be written to exists, and if not, create the directory using Python? Here is what I tried:import os file_path = "/my/direct
python
exception
path
directory
operating-system
Jan 18
Navbro
Tags
php
error-handling
array
javascript
webhooks
javascript-array
java
python