any plans to make pprint() a builtin?

Kent Johnson kent at kentsjohnson.com
Sun May 14 09:54:13 EDT 2006


Duncan Booth wrote:
> Personally I'd just like to see 'python' a builtin shorthand for importing 
> a name you aren't going to use much
>  e.g.
> 
>     python.pprint.pprint(x)

Would you settle for
import py
py.std.pprint.pprint(x) ?

http://codespeak.net/py/current/doc/misc.html#the-py-std-hook

Kent



More information about the Python-list mailing list