Categories
Uncategorized

Adding new entries to database – Python & MySQL

Checking to see if an entry exists in the database, if not, then add it Currently, in the database we only have two names, ‘Shaniqua’ and ‘Jose’ But the new list of names contains a new person ‘Latifah’. Here is how the db can be updated

Categories
Uncategorized

MySQL query in Python – Python

Just for my own reference. Install the mysql Module Connect and make query Very, very, very, very basic. More info: MySQL Python tutorial