Simple odbc problem?

mike mcleod mike.mcleod at bt.com
Tue Apr 10 03:43:17 EDT 2001


I have Ptyhon 2.0 plus win32all (138)
The problem:
>>> import dbi, odbc
>>> s = odbc.odbc('dsn/uid/pw')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: call of non-function (type module)

What does it mean and how can I fix it?

Thanks,
Mike McLeod.





More information about the Python-list mailing list