Re: [python-win32] Trying to build debug version of win32 extensions

2007-07-09 Thread Gerrat Rickert
Thanks for your reply, Mark. I probably wasn't very clear, but I did build a debug version of python. I'll provide more detailed information, as I'm sure the solution to my quandry is very likely a no-brainer for most of the people on this list. I checked out a copy of the python 2.4.4 source

Re: [python-win32] Trying to build debug version of win32 extensions

2007-07-09 Thread Sidnei da Silva
I believe you just have to run setup.py with 'python_d.exe' that is in PCBuild\python_d.exe instead of 'python.exe', though I might be wrong. -- Sidnei da Silva Enfold Systemshttp://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214

[python-win32] urllib and Outlook 2007

2007-07-09 Thread James Matthews
Dear List I have two questions. 1. Is there any way to change the user-agent when using urllib.urlopenwithout having to subclass it? 2. I cannot seem to find anything on reading outlook email using COM everything i find is out dated can anyone give me some pointers or a place to find some

Re: [python-win32] urllib and Outlook 2007

2007-07-09 Thread Larry Bates
James Matthews wrote: Dear List I have two questions. 1. Is there any way to change the user-agent when using urllib.urlopen without having to subclass it? 2. I cannot seem to find anything on reading outlook email using COM everything i find is out dated can anyone give me some

[python-win32] Dispatch Error

2007-07-09 Thread James Matthews
I see people using this code however it doesn't seem to work for me! Any help Thanks James Code: from win32com.client import constants, Dispatch outlook = Dispatch(Outlook.Application) Error com_error: (-2146959355, 'Server execution failed', None, None) Traceback (innermost last): File