New paste Repaste Download
How to (Painfully) Do It Anyway
Find PYZ-00.pyz in _MEIPASS (for one-file mode) or dist/yourapp/ (one-folder mode).
Extract it manually using pyi-archive_viewer:
pyi-archive_viewer app_name.exe
Load .pyc files manually using importlib.util:
import importlib.util
spec = importlib.util.spec_from_file_location("mymodule", "extracted/mymodule.pyc")
mymodule = importlib.util.module_from_spec(spec)
spec.loader.exec_module(mymodule)
print(mymodule.some_function())
Cry and question life choices.
Filename: None. Size: 516b. View raw, , hex, or download this file.

This paste expires on 2025-03-06 00:58:32.054865. Pasted through web.