On Thu, Feb 28, 2008 at 11:50:08AM +0000, Gavin Seddon wrote: > Hi, > Can anyone tell me how to add a python module to python, or give me a > url telling me how? > THANKS > GAVIN > -- > gentoo-user@lists.gentoo.org mailing list > Not really a gentoo question, but, you have 2 options.
Add your modules directory to the $PYTHONPATH. To see what that is: [EMAIL PROTECTED] ~ $ echo $PYTHONPATH /usr/lib/portage/pym Next option is to put it in /usr/lib/python2.4(or 2.5)/site-packages Last, but certainly not least, put the python module in your python projects root directory -- Nick Stinemates ([EMAIL PROTECTED]) http://nick.stinemates.org -- gentoo-user@lists.gentoo.org mailing list