Chapter 3. DVD Inventory System

There is a well-known saying that there are two types of programs: those that are toys and those that access databases. Well, the project in this chapter is not a toy, so that should narrow it down for you. This project will enable you to manage your DVD inventory. It takes advantage of MySQL, a powerful open-source relational database management system (RDMS). Along the way, you'll learn how to do the following:

  • Work with a database

  • Connect to a database

  • Query the database

  • Add records

  • Modify records

  • Delete records

  • Output information in the database to a CSV file

Using the Program

The program is available for download at www.wrox.com. To run it, simply go to a command prompt, ...

Get Python® Create-Modify-Reuse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.