----- Original Message ----- 
From: "Jeffrey Barish" <[EMAIL PROTECTED]>
To: <pythonce@python.org>
Sent: Monday, September 25, 2006 10:43 PM
Subject: Re: [PythonCE] Starting Python in specified directory


> Ingmar Steen wrote:
>
>> You could create a small dummy script in that path that
>> just contains 'pass' and starting that using the python interpreter with
>> the -i option (make a shortcut 'python -i "\My
>> Documents\myprog\dummy.py"').
>
> How do I create the shortcut in WM?
>
> Is there something like .pythonrc in WM that gets read everytime python
> starts?
> -- 
> Jeffrey Barish

Yes, "pythonrc.py". It is only run for interactive sessions, not when you 
double-click on a .py file, but that sounds like what you want.

Luke

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

Reply via email to