0

Import mysqldb and import sqlalchemy what is the difference?

Comments
  • 2
    sqlalchemy is an abstracted layer to different types of databases including mysql.
  • 5
    Yet another question that could have been a search.
  • 0
    @Root with Google
  • 3
    @johnmelodyme Or something better.
  • 0
    From flask import flask
    From mysqldb import mysql
    From flask_sqlalchemy import Sqlalchemy

    Should we write this code like this
  • 1
    Let's be kind this time and help this poor kid
  • 2
    @theabbie I’ll pass.
  • 0
    My senior created this flask sqlalchemy package for using in our project and open sourced it.

    Still I would like to pass as everything you need is there in docs or searchable via Google.
Add Comment