Trying to insert a value from a list into a table.
My table is called players and has only one column, username.
cursor.execute("INSERT INTO players (username) VALUES (?)", name[0])
is what I'm trying to insert.
and I'm getting this error
File "/Users/wilson/PycharmProjects/DraftPwn/Selenium.py", line 73, in getusers
cursor.execute("INSERT INTO players (username) VALUES (?)", name[0])
sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 6 supplied.