On 01/12/2010 16:22, Preston Landers wrote:
No, it appears you're getting a different (and expected) error now.
"[ODBC Driver Manager] Data source name not found and no default driver
specified in LOGIN"
That means you didn't give a valid ODBC connection string when you tried to
create a connection. Earlier you were getting "TypeError: exceptions must
be classes or instances, not str". Try putting a valid connection string in
your test.
thanks,
Preston
......
you're absolutely right, I must have been snow blind. The exception's no longer
a string which is what we expect.
--
Robin Becker
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32