[wxPython] wxPython & ODBC

How can I use ADO with Python???

···

-----Original Message-----
From: Chris Olds [SMTP:cco@dydax.com]
Sent: Tuesday, August 08, 2000 1:36 PM
To: wxpython-users@wxwindows.org
Subject: Re: [wxPython] wxPython & ODBC

If you are sure you're only deploying on Windows, ADO is very easy to use.

    /cco
--
"be conservative in what you do, be liberal in what you accept from
others."
    - Jon Postel, RFC 793

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users

How can I use ADO with Python???

Easiest is using Mr. Michel Orengo's wonderful ADODBpy module which makes
ADO as easy as ABC ...

He, Michel, posted it on c.l.p a couple of week ago. You should be able to
find it on Deja.

// Anders

···

--

import ADODBpy

db = ADODBpy.connect('MyDB', 'MyUser', 'MyPassword')
cur = db.cursor()
cur.execute('select * from mytable')
tup = cur.fetchone()