[Tutor] issue about startup file of python

Simon Brunning SBrunning@trisystems.co.uk
Mon, 13 Nov 2000 12:19:23 -0000


If you have a module called site.py in your Python path, it gets run on
startup.

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning@trisystems.co.uk

> -----Original Message-----
> From:	deng wei [SMTP:deng@ms.shlftdc.net.cn]
> Sent:	Monday, November 13, 2000 7:24 AM
> To:	tutor@python.org
> Subject:	[Tutor] issue about startup file of python
> 
> hello,every:
>     I am using python in command mode under windows98.
> I don't know how to write a startup file in this situation.
> I always starting python using following methods,assuming the python was
> installed at c:\python.
> c:\>python
> copyright,notice.....etc
> >>>import mystartup.py
> >>>
> 
>   How can i do? thanks.
> 
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://www.python.org/mailman/listinfo/tutor
> 
> 
> 
> 
-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.