Re: [python-win32] odbc under windows 7?

2011-01-24 Thread Mike Driscoll
On 1:59 PM, Gary L Smith wrote: Dear Pythoners, I need to access data in an MS Access 2003 database using Python 2.5 or 2.6 running in Windows7. Windows7 doesn't seem to have appropriate drivers for ODBC. My error messages consistently contain the phrase, Data source name not found and no

Re: [python-win32] odbc under windows 7?

2011-01-24 Thread Tim Roberts
Gary L Smith wrote: I need to access data in an MS Access 2003 database using Python 2.5 or 2.6 running in Windows7. Windows7 doesn’t seem to have appropriate drivers for ODBC. My error messages consistently contain the phrase, “Data source name not found and no default driver

Re: [python-win32] odbc under windows 7?

2011-01-24 Thread Vernon Cole
I think Tim's last suggestion is the way to go, and you should NOT need ACCESS installed. Microsoft invented ODBC. Everybody saw it was a great idea and adopted it. So Microsoft had to invent something even newer, which everybody else does not support. That's called ADO. ADO defaults to ODBC

[python-win32] Fixing type ID for an interface file generated by makepy

2011-01-24 Thread Brad Buran
When I generate the interface file for a COM object using makepy, it generates an incorrect signature for one of the methods: def ReadTag(self, Name=defaultNamedNotOptArg, pBuf=defaultNamedNotOptArg, nOS=defaultNamedNotOptArg, nWords=defaultNamedNotOptArg): return self._oleobj_.InvokeTypes(9,