| 19 | dds.moveFile() |
| 20 | |
| 21 | class createBlankFile: |
| 22 | def __init__(self,originPath,goalPath): |
| 23 | self.origin_path=originPath |
| 24 | self.goal_path=goalPath |
| 25 | |
| 26 | def createNewFiles(self): |
| 27 | filenameList = readFilenameList(self.origin_path) |
| 28 | for fn in filenameList: |
| 29 | newPath = self.goal_path + '\{}'.format(fn) |
| 30 | if not os.path.exists(newPath): |
| 31 | os.makedirs(newPath) |
| 32 | print(newPath+" created") |
| 33 | print('Files have been created') |
| 34 | |
| 35 | class copyData: |
| 36 | def __init__(self,origin_path,goal_path): |