def pickle_dump(data, filename):
 fh = open(filename, 'w')
 try:
  pickle.dump(data, fh)
 finally:
  fh.close()

def pickle_dump ( data , filename ) : fh = open ( filename , 'w' ) try : pickle . dump ( data , fh ) finally : fh . close ( )
equivalent to pickle .