Implementing the inventory control system

Now that we have a good idea of the overall structure for our system, what our various modules will be, and what functionality they will provide, it's time for us to start implementing the system. Let's start with the data storage module.

Implementing the data storage module

Create a directory somewhere convenient where you can store the source code for the inventory control system. You might want to call this directory inventoryControl or something similar.

Inside this directory, we will place our various modules and files. Start by creating a new, empty Python source file named datastorage.py. This Python source file will hold our data storage module.

Note

When selecting the name for our modules, we are following ...

Get Modular Programming with Python 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.