[Python-ideas] Have REPL print less by default

Chris Angelico rosuav at gmail.com
Tue Apr 19 05:56:22 EDT 2016


On Tue, Apr 19, 2016 at 7:35 PM, Koos Zevenhoven <k7hoven at gmail.com> wrote:
> I was once a basic user, but I still have no idea what "IDLE" is. Does
> it come with python?
>
> I have tried
>
> $ idle
> $ python -m idle
> $ python -m IDLE
> $ python --idle


The first one will often work, but it depends on exactly how your
Python installation has been set up. (Also, not all Linux distros come
with Idle by default; you may have to install a python-idle package.)
The most reliable way to invoke Idle is:

$ python3 -m idlelib.idle

(or python2 if you want 2.7). It's more verbose than would be ideal,
and maybe it'd help to add one of your other attempts as an alias, but
normally Idle will be made available in your GUI, which is where a lot
of people will look for it.

ChrisA


More information about the Python-ideas mailing list