Jun-01-2018, 08:29 PM
How do I convert a line from a file into a tuple so I can input into mysql database?
File:
I am trying to use
File:
Output:['sql statement %s where id = %s', ['test','1']]
I am struggling with tuple() and list() from a string value...I am trying to use
Output:conn.execute(tuple[0],tuple[1])