4 ms·
import MySQLdb db = MySQLdb.connect(blah) cur = db.cursor() cur.execute("SELECT foo from bar where baz") Spend your time customizing a data access layer to
by jjguy 18y ago
import MySQLdb
db = MySQLdb.connect(blah)
cur = db.cursor()
cur.execute("SELECT foo from bar where baz")
Spend your time customizing a data access layer to fit your needs, not shoehorning an existing framework into a situation where it'll never quite fit.
- seunosewa 18y agoThanks. I don't know why people are so scared of SQL.