How to create directories with python module os like
os
$ mkdir -p /some_non_exsitance_path/path
There is a method in the os module that allows you to create multiple folders
os.makedirs(r'/some_non_exsitance_path/path')
2.1m questions
2.1m answers
60 comments
57.0k users