Re: [Tutor] HOWTO: adding to sys.path the simplest way.

2007-08-24 Thread Ricardo Aráoz
Tim Johnson wrote: > I have a seperate library directory both on my work station on > the the remote servers that I write applications for.. > > I commonly use sys.path.append('/path/to/mylibraries') in my > python code. > > That code has to be placed in any standalone script that I write. > I c

Re: [Tutor] HOWTO: adding to sys.path the simplest way.

2007-08-24 Thread Tim Johnson
On Friday 24 August 2007, Tim Johnson wrote: > On Thursday 23 August 2007, Kent Johnson wrote: > > > I would welcome some opinions on this matter. > > > > Make a file called mylibraries.pth with contents > > /path/to/mylibraries > > Aha! User-defined .pth file is recognized by python > > > Put the

Re: [Tutor] HOWTO: adding to sys.path the simplest way.

2007-08-24 Thread Tim Johnson
On Thursday 23 August 2007, Kent Johnson wrote: > > I would welcome some opinions on this matter. > > Make a file called mylibraries.pth with contents > /path/to/mylibraries Aha! User-defined .pth file is recognized by python > Put the file in your site-packages folder (I don't know wherethat is

Re: [Tutor] HOWTO: adding to sys.path the simplest way.

2007-08-23 Thread Kent Johnson
Tim Johnson wrote: > I have a seperate library directory both on my work station on > the the remote servers that I write applications for.. > > I commonly use sys.path.append('/path/to/mylibraries') in my > python code. > > That code has to be placed in any standalone script that I write. > I c