$PYTHONPATH
Toshio Kuratomi
a.badger at gmail.com
Sun Apr 22 04:44:15 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/test/attachments/20120421/a19ad07e/attachment.sig>
More information about the test
mailing list