Saving dictionaries

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s