Importing python modules - advice wanted
I succeeded in getting the app I referred to in this question working. My solution involves a module called pexpect. I simply put pexpect in a directory in /home/nemo (this is a private app).
This works when I run it from the SDK and also when I run it with
/usr/bin/sailfish-qml xmms2_control
but fails when I tap the desktop icon:
ImportError: No module named 'pexpect'
I think what I could do is put this module in the project tree somewhere and modify PYTHONPATH (?) in the app before the import. Before I try that, though, is there a generally accepted location and method of doing this?