1 blog_filename = "blog_dict.pickle"
4 import cPickle as pickle
9 blog_file = open(blog_filename, "rb")
13 blog_dict = pickle.load(blog_file)
17 # blog_dict is a mapping
18 # (year, month, day) => [list of (file, title, lead, tags)]
21 for posts in blog_dict.itervalues():
22 for _file, _title, _lead, tags in posts: