Am 15.01.20 um 23:11 schrieb Victor Stinner:
This solution is well supported by unmodified Python: it's part of the default sys.path search path:
$ python3 Python 3.7.6 (default, Dec 19 2019, 22:52:49)
import sys; sys.path
['', '/usr/lib64/python37.zip', ...]
It's the second item of sys.path ;-)
Also CPython provides an "embedded" variant in the downloads (IIRC for Windows, everything in a zip file without installer) which provides its standard library in a zip file by default.
The standard library in these zip files is only a subset of the regular stdlib so that might be a good starting point to see which modules could be zipped without modification.
Felix