>>> import ceODBC >>> db=ceODBC.connect('DSN=Wells') >>> c=db.cursor() >>> c.execute('select wellname, latitudedecimal, ... longitudedecimal from dbo.wells where wellid in ... (11587,11194,11157)') >>> for each in c.fetchall(): ... print each ... ('GILL #1-18', 33.095599, -92.38563) ('HOW #2-7', 35.10155, -91.48824) ('JKK #11-13', 34.09130, -93.45256)