Re: [PythonCE] Starting Python in specified directory

2006-09-27 Thread Luke Dunstan
- Original Message - From: "Jeffrey Barish" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 26, 2006 12:06 AM Subject: Re: [PythonCE] Starting Python in specified directory > Luke Dunstan wrote: > >> Yes, "pythonrc.py". It is only run for intera

Re: [PythonCE] Starting Python in specified directory

2006-09-25 Thread Jeffrey Barish
Luke Dunstan wrote: > 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. Yes, that is what I want. Where do I put pythonrc.py? I tried putting it in \Program Files\Python24 and its Lib and DLLs subfolders,

Re: [PythonCE] Starting Python in specified directory

2006-09-25 Thread Luke Dunstan
- Original Message - From: "Jeffrey Barish" <[EMAIL PROTECTED]> To: 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

Re: [PythonCE] Starting Python in specified directory

2006-09-25 Thread Jeffrey Barish
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 .p

Re: [PythonCE] Starting Python in specified directory

2006-09-25 Thread Ingmar Steen
Hi Jeffrey   Windows CE doesn't have the concept of a 'current directory' (so a starting directory makes no sense either) but python for windows ce emulates it internally, so there's no direct way of doing this. iirc, python defaults to a) the directory where the script you start resides (if you st

[PythonCE] Starting Python in specified directory

2006-09-24 Thread Jeffrey Barish
I start Python from the Start Menu. Is there a way to get it to start in a specified directory (e.g., '\My Documents\myprog') everytime it starts? -- Jeffrey Barish ___ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/p