conn.escape_string() Siehe MySQL C-API-Funktionszuordnung:https://mysql-python.sourceforge.net/MySQLdb. html