执行Flask程序时,时常报AttributeError: 'function' object has no attribute 'name'
写Python程序时,有时会报AttributeError: 'function' object has no attribute 'name'错误,仔细检查了程序,发现代码并没有错误,例如我写的程序:# coding:utf8from flask import Blueprint, Flaskpro = Blueprint('blue', __name__)@pro.route('/pro')d...
原创
2018-05-09 12:31:40 ·
7374 阅读 ·
0 评论