[PythonCE] Starting Python in specified directory

Luke Dunstan coder_infidel at hotmail.com
Mon Sep 25 17:09:00 CEST 2006

----- Original Message ----- 
From: "Jeffrey Barish" <jeff_barish at earthlink.net>
To: <pythonce at 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.


More information about the PythonCE mailing list