Use a database. SQLAlchemy with SQLight is a good start. You'll end up there in the end anyway.
or
Dump everything out with the pickle module. (there really isn't anything to understand, you save objects and then load them again, it's really simple).