I'm using Visual Studio Code. I had a python script that was working, but realized that I'd like to make it a class for other scripts to use. The files were structured as follows:
pha
libclass.py
__init.py__
myScript.py
And it worked fine. myScript.py imported pha.libclass without a problem. Wanting to add myScript.py to my library, I moved it into the pha folder
pha
libclass.py
__init.py__
myScript.py
And when I try to run it now, the from pha.libclass import * call causes an error:
Exception has occurred: ModuleNotFoundError
No Module named 'pha'
Am I missing something?