table of contents
other versions
- Tumbleweed 1.14.0-1.3
- Leap-16.0
| 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.
| 2024-12-16 | perl v5.42.0 |