How do you retrieve data from a query in Python using DB-API?

Python >   Python Database Connectivity >   Database Connectivity 1- Connect to Database and create Table  

Long Question

281


Answer:

Answer: You can use the fetchone() or fetchall() methods of a cursor object to retrieve data from a query.


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.