2012-01-23, 23:44
I'm great at C++ and Java, but this is my first time playing around with python. I'm especially interested in playing around with the URLResolver code (http://forum.xbmc.org/showthread.php?tid=105707). I'm wondering if someone could help me solve a very simple problem that's obvious for anyone who's done work with python before, but is causing me issues.
I'm trying to run one of the script files from the URLResolver (I added some code to actually run since most of the files are just class definitions), but I get stuck at the first import line telling me that the urlresolver package can't be found. I'm assuming there has to be some way to tell python where to look for packages. In this case the packages are in the local directory ... how do I tell it to look there?
Thanks,
Harry
P.S. This is on a ubuntu platform, not via XBMC yet.
I'm trying to run one of the script files from the URLResolver (I added some code to actually run since most of the files are just class definitions), but I get stuck at the first import line telling me that the urlresolver package can't be found. I'm assuming there has to be some way to tell python where to look for packages. In this case the packages are in the local directory ... how do I tell it to look there?
Thanks,
Harry
P.S. This is on a ubuntu platform, not via XBMC yet.