Changeset efa05d7 in flex_extract.git for python/tools.py
- Timestamp:
- Sep 2, 2018, 3:05:06 PM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 308e144
- Parents:
- 97e09f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tools.py
r97e09f4 refa05d7 316 316 ''' 317 317 @Description: 318 If "filename" exists , it is removed.318 Remove file if it exists. 319 319 The function does not fail if the file does not exist. 320 320 … … 329 329 os.remove(filename) 330 330 except OSError as e: 331 # this would be "except OSError, e:" before Python 2.6332 331 if e.errno != errno.ENOENT: 333 332 # errno.ENOENT = no such file or directory … … 427 426 @Input: 428 427 directory: string 429 The directory path which should be created.428 The directory name including the path which should be created. 430 429 431 430 @Return:
Note: See TracChangeset
for help on using the changeset viewer.