Using a SQL select query in python to identify users
Created by Chris Hall
last edited Feb 07 2018 by Chris Hall
The point of this resource was to show students how the syntax of an SQL SELECT query varies from the other SQL queries in python when you want to use the WHERE condition (without the annoying ‘must be string’ error). This resource should be used in conjunction with my earlier SQL python resources - but will work as a standalone.
If you do use it with the menu system, you will want to make sure you include the following lines when either login or signup is successful:
global loop loop = True