Mysql class works like php

Andrey alpha04 at netvigator.com
Thu Oct 4 19:09:43 EDT 2007


Hi

just a quick question about using MySQL module... are there any api / class 
available to give a higher level in working with Mysql in python?
such as
db.fetch_array(),
db.fetch_rows(),
db.query(),
for eachrow in db.fetch_array():
    xxxx

just as easy as PHP?
I think someone might already done this, so i dont have to re-invent the 
wheel, but i have no luck in google, so wondering if anyone might know such 
thing exists...

thanks
Andrey 






More information about the Python-list mailing list