[BangPypers] 2-cent Tip: Load modules at Startup

Noufal Ibrahim noufal at gmail.com
Thu Oct 22 16:11:53 CEST 2009

On Thu, Oct 22, 2009 at 6:43 PM, Amit Saha <lists.amitsaha at gmail.com> wrote:
> Hello:
> I have been using CPython as a calculator, while I do all those number
> crunching in C. SO, 'import math' is a must.
> This is what I did:
> - Create a file: .pythonrc in my $HOME and place this line:

There are other goodies you can put there as well. I used to have

import readline
readline.parse_and_bind("tab: complete")

in there so that the default interpreter would get tab completion.


More information about the BangPypers mailing list