(path)
| 1148 | return ret |
| 1149 | |
| 1150 | def mkdirpath(path): |
| 1151 | try: |
| 1152 | os.makedirs(path) |
| 1153 | except OSError as exc: |
| 1154 | if exc.errno == errno.EEXIST and os.path.isdir(path): |
| 1155 | pass |
| 1156 | else: |
| 1157 | raise |
| 1158 | |
| 1159 | if __name__ == "__main__": |
| 1160 | ''' |