def save(self, filename):
    with open(filename, 'w') as pf:
      for key, value in self:
        pf.write('%s = %s\n' % (key, simplejson.dumps(value)))
    return self
Dump properties to a file
dataset/ETHPy150Open bloomreach/briefly/src/briefly/properties.py/Properties.save