On 4/13/05, Michael Murdock <[EMAIL PROTECTED]> wrote:
 >  Is there a way to have a Python script executed whenever Python starts up?

On 4/12/05, Mark Doukidis <[EMAIL PROTECTED]> wrote:
>> Try placing your code inside "sitecustomize.py".
>> This is run every time python is started.

Thanks, Mark! This works fine. 

I was surprised when I found that my sitecustomize.py script imports
sys but sys isn't defined when I ask about it at the python prompt, so
I have to import it again. Why is that?

Thanks again,

~Michael.
_______________________________________________
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce

Reply via email to