"Steve Willoughby" wrote
in directories for chapers. Now I am on modules, and some
are reused in later chapters. I have set up a directory for
the modules. How do I add it to my PYTHONPATH?
So, for example, in a bash/sh shell, you'd say:
export PYTHONPATH="/path/to/my/modules"
And you ca
On Tue, Jun 30, 2009 at 02:33:27PM -0400, Bob Rea wrote:
> In working my way through the book on python, I am working
> in directories for chapers. Now I am on modules, and some
> are reused in later chapters. I have set up a directory for
> the modules. How do I add it to my PYTHONPATH?
> I can
In working my way through the book on python, I am working
in directories for chapers. Now I am on modules, and some
are reused in later chapters. I have set up a directory for
the modules. How do I add it to my PYTHONPATH?
I can use sys.path.append but that only lasts for the
session.
This is