On Jan 25, 1:47 pm, kj <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]> Paddy <[EMAIL PROTECTED]> 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. -- http://mail.python.org/mailman/listinfo/python-list