Write the necessary command to incorporate SQL interface within Python.
Answers
Answered by
5
Answer:
1) To use SQL light we must import SQlite3.
2). then create a connection using connect method and pass the name of the database you want to accept if there is a file with that name it will be open that file.
3). after this a cursor object is called to be capable to send commands to the SQL.
thank u
Answered by
2
To use SQLite, we must import sqlite3. Then create a connection using connect() method and pass the name of the database you want to access if there is a file with that name, it will open that file. After this, a cursor object is called to be capable to send commands to the SQL.
Similar questions