Imports Custom Module Python
I have a file I.py and X.py both are custom modules I'm trying to do an import from X.py file like: from myapp.I import Int But, when I try to run in shell, it throws an import er
Solution 1:
You're going to need an __init__.py
within myapp/ and myapp/a/. See What is __init__.py for? for more details.
Post a Comment for "Imports Custom Module Python"