https://pantsbuild.org/ logo
#general
Title
# general
e

enough-analyst-54434

03/12/2020, 6:24 PM
The
open
builtin does not understand zipfile entries; so to access a file included in a PEX zipfile you'll need to use a resource API like
pkg_resources
from setuptools (https://setuptools.readthedocs.io/en/latest/pkg_resources.html#basic-resource-access). If you want to use
open
then you do need
zip_safe=False
.
5 Views