We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
example.zip
example.py
import example
1 parent 72ff028 commit 0b5e2a5Copy full SHA for 0b5e2a5
Doc/library/zipimport.rst
@@ -189,8 +189,8 @@ Here is an example that imports a module from a ZIP archive - note that the
189
.. code-block:: python
190
191
>>> import sys
192
- >>> sys.path.insert(0, 'pip.pyz') # Add .pyz file to front of path
193
- >>> import pip
194
- >>> pip.__file__
195
- 'pip.pyz/pip/__main__.py'
+ >>> sys.path.insert(0, 'example.zip') # Add .zip file to front of path
+ >>> import example
+ >>> example.__file__
+ 'example.zip/example/__main__.py'
196
0 commit comments