On Sun, Apr 07, 2019 at 01:42:46PM +0200, Thomas Gläßle wrote:

> It would be nice to just type, e.g. any of:
> 
>     pyval os.pathsep

How will it know what object os is, without guessing, if you haven't 
imported it?

 
> There is already a tool like this on PyPI [1] (sadly py2 only atm), but
> if you agree that this is a common pattern,

I always have at least one REPL open for precisely this sort of thing, 
and the interactive interpreter is infinitely more flexible and powerful 
than a tool to print one value.



-- 
Steven
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to