def create_output_folder(self): create_directories(self.output_folder) if self.files_to_copy is not None: all_files_to_copy = [] for file_to_copy in self.files_to_copy: all_files_to_copy += glob(file_to_copy) copy_files_to_folder(all_files_to_copy, self.output_folder)
def copy_files(self): """ Copy files to the output_folder. """ if self.files_to_copy is not None: all_files_to_copy = [] for file_to_copy in self.files_to_copy: all_files_to_copy += glob(file_to_copy) copy_files_to_folder(all_files_to_copy, self.output_folder)
def create_output_folder(self): create_directories(self.output_folder) if self.files_to_copy is not None: copy_files_to_folder(self.files_to_copy, self.output_folder)