def save_file(content, filename):
 print ('Saving', filename)
 with codecs.open(filename, 'wb') as storage_file:
  pickle.dump(content, storage_file, protocol=2)

def save_file ( content , filename ) : print ( 'Saving' , filename ) with codecs . open ( filename , 'wb' ) as storage_file : pickle . dump ( content , storage_file , protocol = 2 )
store content in filename .