Skip to content

Instantly share code, notes, and snippets.

@syfun
Created June 13, 2017 08:52
Show Gist options
  • Save syfun/d26b0264d5dcd71cdce1da91708ac28b to your computer and use it in GitHub Desktop.
Save syfun/d26b0264d5dcd71cdce1da91708ac28b to your computer and use it in GitHub Desktop.
db-sample
# mysql driver use pymysql
# you can add this to __init__.py
import pymysql
pymysql.install_as_MySQLdb()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment