2010-09-17, 13:39
Hi all, I want to use some modules for my plugin but there is impossible to import new modules for me.
For example, I downloaded a Python module for process control called process.py ( http://code.google.com/p/python-process/ ) and I copyed process.py into the same folder of my script and in other paths of sys.paths but xbmc is not be able to import process.
I only copyed the file process.py into the paths and then, in my code I wrote:
But xbmc log says me Error: "No module named process"
How I could import new modules for my plugin?
Thanks a lot.
For example, I downloaded a Python module for process control called process.py ( http://code.google.com/p/python-process/ ) and I copyed process.py into the same folder of my script and in other paths of sys.paths but xbmc is not be able to import process.
I only copyed the file process.py into the paths and then, in my code I wrote:
Code:
import process
But xbmc log says me Error: "No module named process"
How I could import new modules for my plugin?
Thanks a lot.