def get_dict_names(dict1_path, dict2_path):
 dict1_name = os.path.basename(dict1_path)
 dict2_name = os.path.basename(dict2_path)
 if (dict1_name == dict2_name):
  dict1_name = 'dict1'
  dict2_name = 'dict2'
 return (dict1_name, dict2_name)

def get_dict_names ( dict1_path , dict2_path ) : dict1_name = os . path . basename ( dict1_path ) dict2_name = os . path . basename ( dict2_path ) if ( dict1_name == dict2_name ) : dict1_name = 'dict1' dict2_name = 'dict2' return ( dict1_name , dict2_name )
get the name of the dictionaries for the end user .