Re: [python-win32] PythonWin Not starting on Windows Server 2003

2005-11-22 Thread AddisonN
We had the same problem recently - we were missing mfc71.dll in the system folder. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 22 November 2005 11:00 To: [email protected] Subject: Python-win32 Digest, Vol 32, Issue 20 Se

Re: [python-win32] PythonWin Not starting - Windows Server 2003 OS

2005-11-22 Thread Gregory Piñero
Yeah, I know this is a pretty vague question.  I'm willing to try to debug it myself.  Could anyone point me towards where to start?  Is there a error log file somewhere or any known issues with Windows Server 2003? Thanks, Greg On 11/21/05, Gregory Piñero <[EMAIL PROTECTED]> wrote: Hi, I just

[python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gregory Piñero
I'm not sure how to phrase this question.  How can I make PythonWin have it's current directory automatically set to the same directory as my script? For example I want the statement: file('test.txt','w') to make a file in the same directory as my script, instead of wherever PythonWin wants to pu

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gabriel Genellina
At Tuesday 22/11/2005 14:22, Gregory Piñero wrote: >I'm not sure how to phrase this question. How can I make PythonWin have >it's current directory automatically set to the same directory as my script? > >For example I want the statement: >file('test.txt','w') >to make a file in the same directo

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gregory Piñero
And then is there a way to make Pythonwin run that automatically or do I have to add that to my script: os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) -Greg On 11/22/05, Gabriel Genellina <[EMAIL PROTECTED]> wrote: At Tuesday 22/11/2005 14:22, Gregory Piñero wrote:>I'm not sure how to phra

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gabriel Genellina
At Tuesday 22/11/2005 15:14, Gregory Piñero wrote: >And then is there a way to make Pythonwin run that automatically or do I >have to add that to my script: >os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) I'm not sure what Pythonwin has to do with this exactly... You always can run a pr

Re: [python-win32] PythonWin - Start in script's directory

2005-11-22 Thread Gregory Piñero
Ah, very good idea!   I just tried that and it works. For posterity you can add an "edit with" option to a file type in windows by going to folder options, selecting the file types tab, go to the file type you want to change, select change, select new, type in a name like edit with pythonwin, and