def get_files_size_list(files_list, folder_path): files_size_list = [] for i in range(len(files_list)): file_name_absolute = get_file_name_absolute_path( file_name=files_list[i], folder_path=folder_path) file_size_bytes = os.path.getsize(file_name_absolute) files_size_list.append( get_readable_filesize(size_bytes=file_size_bytes)) return files_size_list
def change_global_LogFilePath(): t = get_time() log_file_name = "muxing_log_file_" + t + ".txt" GlobalFiles.MuxingLogFilePath = get_file_name_absolute_path( file_name=log_file_name, folder_path=GlobalFiles.MergeLogsFolderPath)