I currently have the following directory structure:
Folder/
package/
__init__.py, .. many python files
subfolder/
file1.py
Now, my problem is that I am in the Folder directory. I can run python and then run import package. This works fine. However, in my file1.py, I import package at the beginning but when I run python subfolder/file1.py, it cannot find module named package.
Edited: I currently have __ init__.py (with 2 underscores)
_init_.pyto__init__.pyshould help you out