patool icon indicating copy to clipboard operation
patool copied to clipboard

Add list_archive result to a list variable support

Open timiion opened this issue 1 year ago • 1 comments

OS: Windows 11 Version: 2.2.0

import patoolib
file_list = patoolib.list_archive(archive_path, verbosity=1)

list_archive can print the archive list, but return value is None. Could it support return the file list to a list value.

timiion avatar Feb 21 '24 01:02 timiion

This has been asked before, e.g. #44 -- it is very difficult to solve this problem for all archive types, since the tools that Patool use do not return structured data that we could parse.

harkabeeparolus avatar Feb 25 '24 12:02 harkabeeparolus