How do you close a database connection in Python?
Python > Python Database Connectivity > Database Connectivity 1- Connect to Database and create Table
329
Answer:
Answer: You can use the close()
method of a connection object to close a database connection.
This Particular section is dedicated to Question & Answer only. If you want learn more about Python. Then you can visit below links to get more depth on this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.