Interfacing Python With MySql
Interfacing Python With MySql
Worksheet - 4
SUB: COMPUTER SCIENCE (083)
DATE : 21.9.2024
SNO QUESTIONS
1. In order to open a connection with MySQL database from within Python using mysql.connector
package, __________ function is used.
(A) open (B) connect (C) database() (D) connectdb()
2. The code given below inserts the following record in the table Student: