def save_to_well_known_file(credentials, well_known_file=None):
 if (well_known_file is None):
  well_known_file = _get_well_known_file()
 config_dir = os.path.dirname(well_known_file)
 if (not os.path.isdir(config_dir)):
  raise OSError(('Config directory does not exist: %s' % config_dir))
 credentials_data = credentials.serialization_data
 _save_private_file(well_known_file, credentials_data)

def save_to_well_known_file ( credentials , well_known_file = None ) : if ( well_known_file is None ) : well_known_file = _get_well_known_file ( ) config_dir = os . path . dirname ( well_known_file ) if ( not os . path . isdir ( config_dir ) ) : raise OSError ( ( 'Config directory does not exist: %s' % config_dir ) ) credentials_data = credentials . serialization_data _save_private_file ( well_known_file , credentials_data )
save the provided googlecredentials to the well known file .