[clug] finding and settting the python include path
Edward C. Lang
edlang at tsumakin.net
Wed Feb 11 06:13:50 GMT 2004
Hi,
On Wed, 2004-02-11 at 17:07, Michael James wrote:
> How do I discover python's include path
> and where does it get set?
>>> import sys
>>> print sys.path
['', '/usr/local/lib/python23.zip', '/usr/local/lib/python2.3',
'/usr/local/lib/python2.3/plat-linux2',
'/usr/local/lib/python2.3/lib-tk',
'/usr/local/lib/python2.3/lib-dynload',
'/usr/local/lib/python2.3/site-packages',
'/usr/local/lib/python2.3/site-packages/Numeric']
>>> sys.path.append ("/usr/lib/python2.3/site-packages/gtk-2.0/gnome/")
Is that close to what you want, if not exactly?
Regards,
Edward.
--
http://www.tsumakin.net/
More information about the linux
mailing list