Text-based data inspector for Python?

kj socyl at 987jk.com.invalid
Fri Jan 25 08:47:59 EST 2008


In <6398ab68-da01-408e-902b-0b488310e9b0 at e10g2000prf.googlegroups.com> Paddy <paddy3118 at googlemail.com> writes:

>I tend to do the following at the python prompt:

>  from pprint import pprint as pp

Thanks, that's a good one to know, but isn't there a way to automate
it???

I looked around, but I couldn't find the name of any *rc-type file
that would hold interpreter customizations.  The closest I found
was ~/.pythonrc.py, but that still requires doing "import user" at
every interpreter session.  (As annoyances go, this is certainly
a minor one, but with me the psychological effects of such small
annoyances gets magnified in proportion to how unnecessary they
seem.)  Plus, I'm not sure that it'd be such a great idea to execute
code intended to customize the interpreter every time that the user
module gets loaded...

kynn
-- 
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.



More information about the Python-list mailing list