Skip to content

Instantly share code, notes, and snippets.

@FFY00
Last active July 23, 2021 00:38
Show Gist options
  • Save FFY00/32342435fec4fe21751c7a680a89b01f to your computer and use it in GitHub Desktop.
Save FFY00/32342435fec4fe21751c7a680a89b01f to your computer and use it in GitHub Desktop.
import a.b
a.b
>>> import a.b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/anubis/git/python-nest/test/a/b/__init__.py", line 1, in <module>
import a.b.c
File "/home/anubis/git/python-nest/test/a/b/c.py", line 3, in <module>
a.b
AttributeError: module 'a' has no attribute 'b'
a
├── b
│   ├── c.py
│   └── __init__.py
└── __init__.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment