Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- c.execute('SELECT * from foo WHERE username="%s" AND password="%s"' (username, password).
- if c.fetchone is not None:
- do stuff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement