src\
code\
classes.py
__init__.py
test\
tester.py
I have the following directory layout. I want to be able to run python tester.py as my driver command. tester.py would like to import some function or class from classes.py. I'm unable to do this for some reason. I tried doing relative imports, and a whole lot of other ideas, to the point of confusion now of what I'm doing. I would like a succinct way to do this. I've been able to do this if tester.py is a directory above classes.py, but I would like to have two separate folders in parallel like so. Any ideas?