pyi-archive_viewer is a built-in command-line utility of PyInstaller that allows you to inspect bundled files within PyInstaller-generated executables and extract specific files as needed.
pyi-archive_viewer Usage
The pyi-archive_viewer command syntax is as follows:
pyi-archive_viewer [options] archive_file
archive_file: The target file to inspect (must be generated by PyInstaller);
When executing pyi-archive_viewer, the program will display detailed information about bundled files within the archive_file and enter interactive mode. Available commands include:
O <name>: Open an archived fileX <name>: Extract a specified fileU: Navigate up one levelS: List contents of current fileQ: Quit the program
Available command options:
-h,--help: Display help information-l,--log: Display information only (non-interactive mode)-b,--brief: Show concise information-r,--recursive: Recursive operation (used with-l)