How to define and configure PYTHONSTARTUP

for interactive python sessions, you can set the PYTHONSTARTUP environment variable and those commands are executed before the interactive session starts.

Is there a way to configure that file?

EDIT: please disregard, found it in the bash session `declare' output, but it should be documented somewhere else ...

Good point, we should work up an addition to the FAQ. Thanks for letting us know.