Python Blogs

How to create a running data summary in Python

Sometimes you need to keep a running summary in an application, for example the number of cars, bikes, lorries, buses and vans to go over a bridge in a 24 hour period. You don't always want to log away each data item to the database or other data structure as you are...