Can’t import my own modules in Python
In your particular case it looks like you’re trying to import SomeObject from the myapp.py and TestCase.py scripts. From myapp.py, do since it is in the same folder. For TestCase.py, do However, this will work only if you are importing TestCase from the package. If you want to directly run python TestCase.py, you would have to mess with … Read more