Skip to content

Instantly share code, notes, and snippets.

@horpto
Created February 7, 2022 20:15
Show Gist options
  • Save horpto/073dd5882ea2e99c15ba9c3c02536d57 to your computer and use it in GitHub Desktop.
Save horpto/073dd5882ea2e99c15ba9c3c02536d57 to your computer and use it in GitHub Desktop.
import from wrong code
# /usr/local/lib/python3.10/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-310.pyc matches /usr/local/lib/python3.10/site-packages/pkg_resources/extern/__init__.py
# code object from '/usr/local/lib/python3.10/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-310.pyc'
import 'pkg_resources.extern' # <_frozen_importlib_external.SourceFileLoader object >
# /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-310.pyc matches /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/__init__.py
# code object from '/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-310.pyc'
import 'pkg_resources._vendor' # <_frozen_importlib_external.SourceFileLoader object >
# possible namespace for /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/jaraco
import 'pkg_resources._vendor.jaraco' # <_frozen_importlib_external._NamespaceLoader object >
import 'pkg_resources.extern.jaraco' # <pkg_resources.extern.VendorImporter object >
# /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/jaraco/text/__pycache__/__init__.cpython-310.pyc matches /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/jaraco/text/__init__.py
# code object from '/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/jaraco/text/__pycache__/__init__.cpython-310.pyc'
# /usr/local/lib/python3.10/importlib/__pycache__/resources.cpython-310.pyc matches /usr/local/lib/python3.10/importlib/resources.py
# code object from '/usr/local/lib/python3.10/importlib/__pycache__/resources.cpython-310.pyc'
# /usr/local/lib/python3.10/importlib/__pycache__/_common.cpython-310.pyc matches /usr/local/lib/python3.10/importlib/_common.py
# code object from '/usr/local/lib/python3.10/importlib/__pycache__/_common.cpython-310.pyc'
# /usr/local/lib/python3.10/__pycache__/typing.cpython-310.pyc matches /usr/local/lib/python3.10/typing.py
# code object from '/usr/local/lib/python3.10/__pycache__/typing.cpython-310.pyc'
import 'typing' # <_frozen_importlib_external.SourceFileLoader object >
# /usr/local/lib/python3.10/importlib/__pycache__/abc.cpython-310.pyc matches /usr/local/lib/python3.10/importlib/abc.py
# code object from '/usr/local/lib/python3.10/importlib/__pycache__/abc.cpython-310.pyc'
import 'importlib.abc' # <_frozen_importlib_external.SourceFileLoader object >
# /usr/local/lib/python3.10/importlib/__pycache__/_adapters.cpython-310.pyc matches /usr/local/lib/python3.10/importlib/_adapters.py
# code object from '/usr/local/lib/python3.10/importlib/__pycache__/_adapters.cpython-310.pyc'
import 'importlib._adapters' # <_frozen_importlib_external.SourceFileLoader object >
import 'importlib._common' # <_frozen_importlib_external.SourceFileLoader object >
import 'importlib.resources' # <_frozen_importlib_external.SourceFileLoader object >
# /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/jaraco/__pycache__/functools.cpython-310.pyc matches /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/jaraco/functools.py
# code object from '/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/jaraco/__pycache__/functools.cpython-310.pyc'
# /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/more_itertools/__pycache__/__init__.cpython-310.pyc matches /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/more_itertools/__init__.py
# code object from '/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/more_itertools/__pycache__/__init__.cpython-310.pyc'
# /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/more_itertools/__pycache__/more.cpython-310.pyc matches /usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/more_itertools/more.py
# code object from '/usr/local/lib/python3.10/site-packages/pkg_resources/_vendor/more_itertools/__pycache__/more.cpython-310.pyc'
# /usr/local/lib/python3.10/concurrent/__pycache__/__init__.cpython-310.pyc matches /usr/local/lib/python3.10/concurrent/__init__.py
# code object from '/usr/local/lib/python3.10/concurrent/__pycache__/__init__.cpython-310.pyc'
import 'concurrent' # <_frozen_importlib_external.SourceFileLoader object >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment