September 2017
Intermediate to advanced
240 pages
5h 57m
English
Python has a standardized database API that enables you to use the same code to access multiple databases. Each database you wish to connect to has a different module that knows how to talk to that database and follows the standard in PEP 249 (https://www.python.org/dev/peps/pep-0249/). This makes it easier to work with databases that all have different APIs for accessing them. For this exercise you’ll be using the sqlite3 module found at https://docs.python.org/2/library/sqlite3.html to work with SQL.
One thing you will constantly have to do as a programmer is learn APIs written by other people. I haven’t specifically covered the most efficient way to do this because it’s something that ...
Read now
Unlock full access