dbc = MySQLdb.connect(host='###', user='###', passwd='###', db='###',
    use_unicode=True)
cursor = dbc.cursor()
cursor.execute('SET NAMES utf8mb4')
cursor.execute('SET CHARACTER SET utf8mb4')
cursor.execute('SET character_set_connection=utf8mb4')
dbc.commit()
cursor.close()
dbc.close()
"Can't initialize character set utf8mb4" with Windows mysql-python