There is no shortage of ways to save information in Python but if you naturally have the information in a dictionary or an array have a look at a NoSQL database. There are several different types to cover different use cases but a good one to start with is MongoDB. It allows you to save and retrieve arbitrarily complex dictionaries with the minimum of fuss.
One reason to suggest this is they have made learning it easy. They run a free online video based course (M101P) roughly every 2 months with any code outside of Mongo written in Python. I’ve just successfully completed it and I can recommend the course.
If you prefer a book for learning, JSbooks have The Little MongoDB Book you can read. My preference is for the online course but the book is easy to read and useful if you don’t have an Internet connection.