Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sql_statement = '''SELECT name FROM users WHERE username = ? and password = ?''', (uname, password)
- #print('About to execute the following SQL statement: n' + sql_statement)
- print(type(sql_statement))
- cursor.execute(sql_statement) # Execute the SQL statement we created
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement