[Python-ideas] print in the interactive interpreter? plus shell API idea
rnd at onego.ru
Sun Jul 6 09:02:42 CEST 2008
Terry Reedy wrote:
> Roman Susi wrote:
>> I am sure that Python interactive interpreter is a good tool.
>> Before it were simple to print something with print.
> It always was and is easier to leave print off and just type the
> expression ;-)
It gives you repr and its not always useful, e.g.
> > Is it possible to have some simplified "print" in the interactive
> We already and always have had such: just type the expression
Well, my point which was completely ignored (maybe due to too lengthy
explanation) is that the shell could be smarter beyond readline and that
shell to interpreter protocol may be a well-defined API, specifying
"main course" (Python commands) as well introspection features.
More information about the Python-ideas