import mysql.connector
#if this page is executed with no errors, you have the "mysql.connector" module installed.