[python-win32] com event question

2006-06-28 Thread Tim Newsham
I have an IWebBrowserApp pointer and I want to get events from the DWebBrowserEvents interface (the BeforeNavigate2 event, in particular). If I understand correctly, I should make an event class: class EventHandler(object) : def BeforeNavigate2(self, *args) : print before

Re: [python-win32] com event question

2006-06-28 Thread Tim Newsham
On Wed, 28 Jun 2006, Tim Newsham wrote: I have an IWebBrowserApp pointer and I want to get events from the DWebBrowserEvents interface (the BeforeNavigate2 event, in particular). If I understand correctly, I should make an event class: class EventHandler(object) : def

Re: [python-win32] pywintypes24.dll necessary??

2006-06-28 Thread Dean Allen Provins
Tim Roberts wrote: On Thu, 22 Jun 2006 08:49:35 -0600, Dean Allen Provins [EMAIL PROTECTED] wrote: The user's requirement was for a batch program to process hundreds of files - so I wrote one on Linux, and ported it to WinXP Professional. It is a command line driven routine that works

[python-win32] ODBC and Oracle

2006-06-28 Thread Dean Allen Provins
Hello: Is there a trick to adding a Python ODBC connection to Oracle? Under Windows, with Python's odbc module, I can see MS Access (twice), 2 system databases that the IT people created. and at various times. dbase and excel as data sources. Curiously, the list of sources varies with my