Re: Starting Python in specified directory

"Luke Dunstan" <[email protected]>
Newsgroups gmane.comp.python.windows-ce
Message-ID <[email protected]>
----- Original Message ----- 
From: "Jeffrey Barish" <[email protected]>
To: <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.