[python-win32] Cannot import pyodbc module

2008-07-21 Thread siddhartha veedaluru
Hi, Getting the following error while i install the pyodbc module and import it import pyodbc Traceback (most recent call last): File pyshell#2, line 1, in module import pyodbc ImportError: DLL load failed with error code 193 i have installed win32it pyodbc module in a x64 Win 2003 os

[python-win32] Re: Cannot import pyodbc module

2008-07-21 Thread Roger Upole
siddhartha veedaluru [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Getting the following error while i install the pyodbc module and import it import pyodbc Traceback (most recent call last): File pyshell#2, line 1, in module import pyodbc ImportError: DLL load failed

Re: [python-win32] Cannot import pyodbc module

2008-07-21 Thread Tim Golden
Roger Upole wrote: Modules compiled as 32-bit won't work with 64-bit python. If there isn't a 64-bit version of pyodbc, you'll need to stick with 32-bit python (which continues to run well on 64-bit systems). I wonder whether (he says, talking to the air) it would be worth mentioning

Re: [python-win32] Registering 3rd party DLLs

2008-07-21 Thread Larry Bates
Gal Aviel wrote: Hello All, I posted a related question in the py2exe mailing list, only to realize that the issue might be more related to this mailing list ... I'm distributing a python application as a self-contained executable using py2exe. My application relies on several 3rd party

Re: [python-win32] Cannot import pyodbc module

2008-07-21 Thread Larry Bates
Tim Golden wrote: Roger Upole wrote: Modules compiled as 32-bit won't work with 64-bit python. If there isn't a 64-bit version of pyodbc, you'll need to stick with 32-bit python (which continues to run well on 64-bit systems). I wonder whether (he says, talking to the air) it would be worth

Re: [python-win32] How to get IWebBrowser2 from a HWND

2008-07-21 Thread salvatore ventura
Hi Mark, thanks for helping out. I have tried the same QueryInterface but this time on the 'main' window (no popup open), this time looking for the 'IEFrame' class, and then following the same steps as in my popup example, but this time, the QueryInterface seems to happily return a 'number'. I

Re: [python-win32] error in list length

2008-07-21 Thread Larry Bates
knish wrote: Hi, Thank you for your reply. I will remember your point and send the code from the console. BRgds, kNish Larry Bates wrote: kNish wrote: Hi, The following lines of code gives an error starting with line where len() is used