[Tutor] SQL querying

Mats Wichmann mats at wichmann.us
Thu Aug 30 22:01:53 EDT 2018


On 08/30/2018 11:41 AM, Rafael Knuth wrote:
> Can I do SQL querying in Python?
> What packages do I need for that purpose? (specifically for mySQL) Thanks.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
> 

yeah, it works fine.

there are actually some competing options (you wanted one simple
answer?). Oracle has an "official" connector (search for that).  There's
MySQLdb, which I've used a fair bit. There's a pure-python version
called pymysql.  And if you are going to get into advanced uses, there's
a lovely bit of code called SQL Alchemy.


More information about the Tutor mailing list