MySQLDB 错误 InterfaceError(0,")

出现这个问题是由于db.close()后cursor还有操作;

可能是由于在关闭db前没有关闭cursor;

参考文献:https://stackoverflow.com/questions/6650940/interfaceerror-0

原文地址:https://www.cnblogs.com/jhc888007/p/7041587.html