Chapter 8.  Working with Databases

Nudge, nudge. Wink, wink. Say no more!

Sometimes, the machine's memory is not enough, and we need to store data somewhere else. That is what this chapter talks about—it shows all the database options that Python has available. For those who still don't know anything about databases, this chapter briefly explains how they work, and it also lists and explains the basic SQL statements that you need to know.

Working with Databases

For simplicity, let's say that databases are summarized as the place where you store and update data. Python is able to connect to a wide variety of databases.

The simplest solution to handle databases in Python is to use plain text files. A tiny variation of this method is to store the information ...

Get Python Developer's Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.