How to tell a Python program where a shared library is?
Scherer, Bill
Bill.Scherer at VerizonWireless.com
Thu May 3 13:24:28 EDT 2001
use the env. var. PYTHONPATH
set it to the dir your module is in.
Alternatively, run Python interactively and:
>>> import sys
>>> sys.path
[....
put your module in one of the directories in the resulting list.
William K. Scherer
Sr. Member of Applications Staff - Verizon Wireless
Bill.Scherer_at_VerizonWireless.com
On Thu, 3 May 2001, Edward C. Jones wrote:
> Suppose I have a shared library, say "mymodule.so". How do I tell a Python
> program where "mymodule.so" is? If necessary I can change the PATH environment
> variable. How is this done?
>
> Thanks,
> Ed Jones
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list