April 7, 2019
7:35 p.m.
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