[Python-ideas] print in the interactive interpreter? plus shell API idea
Roman Susi
rnd at onego.ru
Sun Jul 6 11:41:03 CEST 2008
Leonardo Santagada wrote:
>
> On 05/07/2008, at 12:45, Roman Susi wrote:
>> cf:
>>
>>
>>>>> print(functools.wraps.__doc__)
>>
>> and
>>
>>>>> ? functools.wraps.__doc__
>
>
> in ipython you have:
Thanks! ipython is very nice. (I always thought it's something about
.net and thus ignored it :-)
-Roman
>
> In [1]: functools.wraps?
>
> that will print the docstring and if you do ?? it will print the source
> code (or at least try to). Maybe one idea would be to list all different
> python interactive interpreters out there and try to come up with a pep
> describing improvements to the current python interpreter. Maybe list
> everything that could be done without readline (or any other similar
> library) and what depend on complex line editing facilities so there
> could become a option to the interpreter.
>
> --
> Leonardo Santagada
>
More information about the Python-ideas
mailing list