Message from Python discussions

November 2018

— Windows

— 

Hi, everyone. I'm trying to add some data from a file, but getting that error. Can you fix it, please.?
https://hastebin.com/wiguqamisi.py

— What error

— Also use context managers

— Raise err.InterfaceError("(0, '')")
pymysql.err.InterfaceError: (0, '')

— That error is my cur.execute

— The entire traceback...

— It's working if i'm doing cur.execute(sql, (1544, line.rstrip()) without the main loop 'while'

— Https://hastebin.com/qumupixici.sql

— Now that's an unhelpful error

— Mike, [22.11.18 15:36]
it's working if i'm doing cur.execute(sql, ('1544', line.rstrip()) without the main loop 'while'

Message permanent page

— Maybe have a time.sleep in between ?