Python Path
Posted: Sat Jun 26, 2010 8:20 am
I just turned on sql logging and I'm thinking about what to do with it. I have a little experience with python, burt for now I have one, probably naive, question. In the following code found in the web plugin, how does python find the module in the IndigoSqlClient directory?
And if I wrote separate python code, not in a plugin, would I have to modify the $PYTHONPATH variable to find it?
- Code: Select all
from indigopy import indigoconn as ic
And if I wrote separate python code, not in a plugin, would I have to modify the $PYTHONPATH variable to find it?