minor fix to move zipped files into separate folders for part1, 2 and 3
@@ -11,8 +11,8 @@ import zipfile
zip_dir = '.'
target_dir = '.'
-for zip_filename in {'TrainingData_Part1.zip', 'TrainingData_Part1.zip',
- 'TrainingData_Part1.zip'}:
+for zip_filename in {'TrainingData_Part1.zip', 'TrainingData_Part2.zip',
+ 'TrainingData_Part3.zip'}:
zip_ref = zipfile.ZipFile(os.path.join(zip_dir, zip_filename), 'r')
- zip_ref.extractall(target_dir)
+ zip_ref.extractall(os.path.join(target_dir,zip_filename[:-4]))
zip_ref.close()
\ No newline at end of file
