CBSE Class 12 Computer Science
Question 12 of 47
Interface Python with SQL — Question 2
Back to all questionsconnect
Reason — The connect() function establishes a connection to the MySQL database from Python application and returns a MySQLConnection object, which we can then use to interact with the database.