On Sat, 2011-02-19 at 19:22 +0100, Andrea Crotti wrote:
> Il giorno 19/feb/2011, alle ore 18.25, Doug Epling ha scritto:
>
> > The best way I have found is to place that definition of your PYTHONPATH in
> > your .bash_profile in your home directory and export it from there.
> >
> > PYTHONPAT
Il giorno 19/feb/2011, alle ore 18.25, Doug Epling ha scritto:
> The best way I have found is to place that definition of your PYTHONPATH in
> your .bash_profile in your home directory and export it from there.
>
> PYTHONPATH=/home/foo/prog/learning_python
>
> export PYTHONPATH
>
The best way I have found is to place that definition of your PYTHONPATH
in your .bash_profile in your home directory and export it from there.
PYTHONPATH=/home/foo/prog/learning_python
export PYTHONPATH
This way your PYTHONPATH is picked up each time you log on. You
might
On 15.02.2011 19:12, Panupat Chongstitwattana wrote:
Panupat, please don't top-post, it messes the the natural order of
the discussion. Thanks.
I think the command line should look something along this line
export PYTHONPATH=$HOME/foo/prog/learning_python/:
with a colon at the end.
Nope,
I think the command line should look something along this line
export PYTHONPATH=$HOME/foo/prog/learning_python/:
with a colon at the end.
On Wed, Feb 16, 2011 at 12:49 AM, Tim Hanson wrote:
> I am to the point in _Learning_Python_ where functions are introduced.
>
> I decided to experiment by
I am to the point in _Learning_Python_ where functions are introduced.
I decided to experiment by putting a function into a file and importing it
into Idle. Of course, Idle couldn't find it, so I executed the following
command in Bash:
PYTHONPATH=/home/foo/prog/learning_python
export PYTHONP