On Sat, Apr 21, 2012 at 06:17:21PM -0700, Rob Healey wrote:
> Greetings:
> 
> This is probably a very naive/ general question, but I still do NOT
> know the answer???
> 
> I need to make a permanent addition to the $PYTHONPATH variable!  I
> need to append to the environment variable...
> 
> I knowe in the python interactive command line:
> 
> import os
> sys.path.append(os.getcwd()) works in python, but I need to append to
> this variable from the command line or from my .bashrc file ...
>
The PYTHONPATH environment variable is what you probably want

for instance in .bashrc:

export PYTHONPATH=/home/badger/my/python/directory

-Toshio

Attachment: pgpqskRFgyix8.pgp
Description: PGP signature

-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

Reply via email to