i use this to save and reload a dict, slower than pickling but you get a human readable file and its soooo simple. a={1:'one',2:'two'} >>> a {1: 'one', 2: 'two'} # to save to dict.txt >>> print >>file('dict.txt','w+'),str(a) # to reload >>> exec('b=dict('+file('dict.txt','r').read()+')') >>> b {1: 'one', 2: 'two'} >>>