Suppose I have the following (project1 is on python path):
/project1/utils/utils.py def cool_function(): print "cool" /project1/backup/utils.py from utils.utils import cool_function This throws "ImportError: No module named utils".
I assume this is because it is searching for utils.cool_function in backup.utils. Is there a rather than renaming the utils package? I think my naming convention makes sense, and is natural, so I'm reluctant to changing it. If that however is preferred and standard practice, I will rename it!
Thanks!
EDIT: I am using Python 2.7