code: def write_pickles (self, objs):
          
          try:
              import cPickle as pickle
          except ImportError:
              import pickle
  
          with self.open (mode='wb') as f:
              for obj in objs:
                  pickle.dump (obj, f)
docs: *objs* must be iterable. Write each of its values to this path in sequence
          using :mod:`cPickle`.