Re: $PYTHONPATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgpNRbCPVFDcp.pgp
Description: PGP signature

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

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux