Re: Initializing interactive Python

2005-07-24 Thread Tomasz Rola
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24 Jul 2005 [EMAIL PROTECTED] wrote: > Hi all, > is it possible to enter an interactive session and automatically > do some initialization? > I explain better: > I want that when I start interactive Python on a console (I use Linux) > two command l

Re: Initializing interactive Python

2005-07-24 Thread qwweeeit
Hi Bruno, thank you..."Easy as pie !-)" Bye. -- http://mail.python.org/mailman/listinfo/python-list

Re: Initializing interactive Python

2005-07-24 Thread Thanos Tsouanas
On Sun, Jul 24, 2005 at 03:26:06AM -0700, [EMAIL PROTECTED] 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 -

Re: Initializing interactive Python

2005-07-24 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > Hi all, > is it possible to enter an interactive session and automatically > do some initialization? > I explain better: > I want that when I start interactive Python on a console (I use Linux) > two command lines be executed automatically: [EMAIL PROTECTED] bruno $ p

Initializing interactive Python

2005-07-24 Thread qwweeeit
Hi all, is it possible to enter an interactive session and automatically do some initialization? I explain better: I want that when I start interactive Python on a console (I use Linux) two command lines be executed automatically: Python 2.3.4 (#2, Aug 19 2004, 15:49:40) [GCC 3.4.1 (Mandrakelinux