Initializing interactive Python

Thanos Tsouanas thanos at sians.org
Sun Jul 24 07:04:58 EDT 2005


On Sun, Jul 24, 2005 at 03:26:06AM -0700, qwweeeit at yahoo.it wrote:
> Hi all,
> is it possible to enter an interactive session and automatically
> do some initialization?

set the enviroment variable PYTHONSTARTUP to point to a startup.py of
your own, where you put all your initializations..

HTH

-- 
Thanos Tsouanas          .: My Music: http://www.thanostsouanas.com/
http://thanos.sians.org/ .: Sians Music: http://www.sians.org/



More information about the Python-list mailing list