redefinition of unused 'connection' from line 1
Traceback (most recent call last):
File "e:\project\python\python\ifeng.py", line 21, in <module>
connection = pymysql.connect(host='localhost',
TypeError: Connection.__init__() got an unexpected keyword argument 'dp'
不要放在E盘吧,可能有权限的问题,用C盘的管理账号去连接