Check to see if the directory exists. If the directory does not exist, it will automatically create it.
(location)
| 230 | |
| 231 | |
| 232 | def check_save_location(location): |
| 233 | """ |
| 234 | Check to see if the directory exists. |
| 235 | If the directory does not exist, it will automatically create it. |
| 236 | """ |
| 237 | if not os.path.exists(location): |
| 238 | os.makedirs(location) |
| 239 | |
| 240 | |
| 241 | def main(logger=None): |