confused about path

Michael Hudson mwh21 at cam.ac.uk
Wed Apr 12 14:22:52 EDT 2000


Albert Wagner <alwagner at tcac.net> writes:

> Assuming I am set up correctly, shouldn't I be able to invoke idle like
> this:
> 
> $ python idle.py
> 
> from any directory?

No.

You might want to try "python -c 'import idle'", but that's not quite
the same.  Or put a symlink to /usr/local/whatever/Tools/idle/idle.py
on your path.

Cheers,
M.

-- 
  incidentally, asking why things are "left out of the language" is
  a good sign that the asker is fairly clueless.
                                      -- Erik Naggum, comp.lang.lisp



More information about the Python-list mailing list