摘要: from sqlalchemy import create_engine,Column,Integer,String from sqlalchemy.ext.declarative import declarative_base HOSTNAME = '127.0.0.1' PORT = 3306 DATABASE = 'first_sqlalchemy' USERNAME = 'roo... 阅读全文
posted @ 2018-09-21 21:49 python成长中 阅读(424) 评论(0) 推荐(1)
摘要: from sqlalchemy import create_engineHOSTNAME = '127.0.0.1'PORT = 3306DATABASE = 'first_sqlalchemy'USERNAME = 'root'PASSWORD = '123456'#dialect+driver: 阅读全文
posted @ 2018-09-21 19:22 python成长中 阅读(219) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2018-09-21 18:23 python成长中 阅读(119) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-09-21 15:51 python成长中 阅读(162) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-09-21 11:20 python成长中 阅读(220) 评论(0) 推荐(0)
摘要: from flask import Flask,Blueprint from blueprints.users import user_dp from blueprints.news import news_pb app = Flask(__name__) app.register_blueprin 阅读全文
posted @ 2018-09-21 00:15 python成长中 阅读(367) 评论(0) 推荐(0)