[egenix-users] Re: [egenix-info] mxODBC

eGenix Support support at egenix.com
Mon Apr 25 10:54:50 CEST 2005


On 2005-04-23 at 05:25:58 [+0200], K. Schreur <schreur at optonline.net> wrote:
> Sir/Madam:
> I have installed the mxODBC Windows package and I am attempting to 
> understand how it works. I have tried to perform a simple connection to a 
> database, and while it appears the connections works properly, when I try 
> to execute a simple SQL statement I receive the following:
> 
> Traceback (most recent call last):
>   File "C:/Python24/kstest", line 4, in -toplevel-
>     c.execute('select count(*) from RetailAccounts')
> AttributeError: 'builtin_function_or_method' object has no attribute 
> 'execute'
> >>> 
> 
> I believe this to be some sort of installation issue on my part, but I do 
> not know where to find out how to resolve it. Could someone please assist? 
> I believe it to be a very simple issue that I don't understand.
> Regards,
> Kevin Schreur

Dear Mr Schreur,

without more from your script it is very difficult to say anything about 
your error except that it probably has little to do with mxODBC because the 
error you are getting specifies a Python builtin.

To help you more we need the complete script.

Regards

Charlie
-- 
Charlie Clark
eGenix.com

Professional Python Services directly from the Source
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the egenix-users mailing list