I have a simple question about "Intra-package References"
There are two source files and __init__.py in package MyPkg shown below:
|-MyPkg
-__init__.py
-example.py
-test.py
example.py is like this:
Expand|Select|Wrap|Line Numbers
- a = 5
Expand|Select|Wrap|Line Numbers
- from . import example
- print example.a