Computer Science, asked by ranjithramesh757, 4 months ago

what is the example to create the data base in python​

Answers

Answered by aditiraina43
0

Explanation:

write database applications in Python, there are five steps to follow:

Import the SQL interface with the following command: >>> import MySQLdb.

Establish a connection with the database with the following command: >>> conn=MySQLdb.connect(host='localhost',user='root',passwd='')

Answered by gouravkuamrverma2
0

Answer:

Programming in Python is arguably more efficient and faster compared to other languages.

Python is famous for its portability.

It is platform independent.

Python supports SQL cursors.

In many programming languages, the application developer needs to take care of the open and closed connections of the database, to avoid further exceptions and errors. In Python, these connections are taken care of.

Python supports relational database systems.

Python database APIs are compatible with various databases, so it is very easy to migrate and port database application interfaces

Similar questions