Use Redis key-value store
Can be installed quickly on Linux and Windows compiled versions are also available.
python redis package will then allow you to write, read and update values really easily.
Using hash data type is what will serve you best, you may add/edit new values to so called fields (key in Python dictionary terminology), it is very fast and it is also very straightforward.
This solution will work even for independent processes. You may even share data in Redis over network, so for map/reduce scenario this can be great option.
The only thing, you have to care about when storing and restoring values is that the values can be only strings, so you have to serialize and de-serialize them. json.dumps and json.loads works very well for this.