confused about path
Albert Wagner
alwagner at tcac.net
Wed Apr 12 11:13:27 EDT 2000
Assuming I am set up correctly, shouldn't I be able to invoke idle like
this:
$ python idle.py
from any directory?
My setup:
PYTHONPATH=.:/usr/local/lib/python1.5:/usr/local/lib/python1.5/site-packages
In /usr/local/lib/python1.5/site-packages the file idle.pth which
contains 1 line:
idle-0.5
In /usr/local/lib/python1.5/site-packages/idle-0.5/idle.py
In fact, I can only start idle like this:
$ cd /usr/local/lib/python1.5/site-packages/idle-0.5
$ python idle.py
OR
$ python /usr/local/lib/python1.5/site-packages/idle-0.5/idle.py
OR interactively
$ python
>>>import idle
What am I missing?
--
Small is Beautiful
More information about the Python-list
mailing list