Import, site packages, my modules, Windows vs. Linux

Tobiah toby at tobiah.org
Wed Jun 4 15:45:49 EDT 2008


On Tue, 03 Jun 2008 17:57:07 -0700, John Ladasky wrote:

> Hi folks,
> 
> Running Python 2.5 on both a Windows XP laptop, and an Ubuntu Linux
> 7.04 desktop.
> 
> I've gotten tired of maintaining multiple copies of my personal
> modules that I use over and over.  I have copies of these files in the
> same directory as the main program I happen to be working on at the
> time.  

I just make some directory outside of the python source, say
/usr/local/lib/python.  I then add that to my PYTHONPATH.
Now the permissions are not a problem, and the libs are
automatically available to any version of python on the system.



** Posted from http://www.teranews.com **



More information about the Python-list mailing list