patool
patool copied to clipboard
Add list_archive result to a list variable support
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.
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.