[Tutor] How to import my own module (fwd)

Steven Burr sburr@mac.com
Tue, 25 Sep 2001 19:07:35 -0700


On Tuesday, September 25, 2001, at 04:51 PM, Andrei Kulakov wrote:
>
> I'm not exactly sure if the format for .cshrc is the same, but for
> .bashrc you'd have to add this line:
> export PYTHONPATH=/home/pan/.my_modules
>

I can't believe I even know this, but for a C shell (such as tcsh, which 
is the default on Mac OS X), the appropriate shell script command would 
be:

setenv PYTHONPATH <path-to-home-directory>/<module-directory>

Steve Jobs is truly a miracle worker.  He's turned a middle-aged lawyer 
into a Unix geek.