fredbasset1...@gmail.com wrote: > I can only get it to work if I copy the .so file to the directory > where daemon.py is and change the import to "import diomodule".
And to supplement my previous reply, another solution is to make sure that /root/project/drivers/dio is in your PYTHONPATH. Then you can simply "import diomodule" and refer to the module by the name "diomodule". HTH, -- Carsten Haese http://informixdb.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list