Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
sqlalchemy is an abstracted layer to different types of databases including mysql.
-
From flask import flask
From mysqldb import mysql
From flask_sqlalchemy import Sqlalchemy
Should we write this code like this -
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.
Import mysqldb and import sqlalchemy what is the difference?
question