SQLite in Python - creating a local database Summary convenient way to store, update, and retrieve data. Databases can also be password protected and encrypted to provide data security. create a database, and populate it with tables that contain columns which correlate to the data that you will store. Steps - Examine the data you intend to collect, decide on which pieces are important to the project. More data is almost always good. piece of data that exists in both tables, so you have a relationship between the tables. - Create and run a Python script which creates the database, and then creates the queries to create the tables you have designed. - Save the database file someplace so you can use it later..