Text-based data inspector for Python?
Paddy
paddy3118 at googlemail.com
Fri Jan 25 10:30:14 EST 2008
On Jan 25, 1:47 pm, kj <so... at 987jk.com.invalid> wrote:
> In <6398ab68-da01-408e-902b-0b488310e... at e10g2000prf.googlegroups.com> Paddy <paddy3... 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.
python -h gives me:
...
Other environment variables:
PYTHONSTARTUP: file executed on interactive startup (no default)
...
- Paddy.
More information about the Python-list
mailing list