create a single empty directory if it didn't exist Parameters: path (str) -- a single directory path
(path)
| 96 | |
| 97 | |
| 98 | def mkdir(path): |
| 99 | """create a single empty directory if it didn't exist |
| 100 | |
| 101 | Parameters: |
| 102 | path (str) -- a single directory path |
| 103 | """ |
| 104 | if not os.path.exists(path): |
| 105 | os.makedirs(path) |