I can't find an exact answer for this..
I have a compiled .pyc file. I have a reference to it in another python file. Where does the pyc file need to be for Python to find it? Whenever I run this I get an error saying there is no module found when it tries to import it.
It works fine if the uncompiled reference file (.py) is in the directory with the .py file I'm trying to run.
Do I need to update some path variables or put this in a special folder so it will find it? I realize that this isn't necessary; I mostly want to figure out how Python is pulling its imports in. Everything I've read has suggested that the .pyc file I have SHOULD run just fine when another needs to import it, even if there is no source .py around.
Edit: Clarification, I'm running Windows.