Is there a recommended way to interact between python and MySQL?

What is the recommended way to interact between python and MySQL? I am currently using MySQLdb, and I heard from Oursql. But I asked myself if there is a more suitable way to handle this.

+3
source share
2 answers

MySQLdb is something that most people use at a lower level, but oursql is also interesting. You can use higher level mechanisms such as

  • sqlalchemy
  • Django - note that it comes with the entire web map :)
  • I'm sure you can find others, look for "python orm"
+8
source

pymysql, , MySQLdb. , , . , ( python/MySQL QA), / OurSQL.

, , . Python , ; () , , , , , .

0

All Articles