Scroll to navigation

File::StripNondeterminism::handlers::pyzip(3) User Contributed Perl Documentation File::StripNondeterminism::handlers::pyzip(3)

ABOUT

Python supports running .zip'd .py files:

        $ cat __main__.py
        #!/usr/bin/python3
        print("Hello World")
        $ zip pyzip.zip __main__.py
        $ head -1 __main__.py | cat - pyzip.zip > pyzip
        $ chmod a+x pyzip

They require special handling to not mangle the shebang.

DEPRECATION PLAN

Unclear, as many tools can, after all, generate these .zip files.

2023-07-28 perl v5.38.2