def Flatten(li):
  flat = []
  for x in li:
    if type(x) == list:
      flat.extend(Flatten(x))
    else:
      flat.append(x)
  return flat
Compute a commandline arg key to be used for a config file setting
dataset/ETHPy150Open spranesh/Redhawk/redhawk/utils/util.py/Flatten--crossover with--dataset/ETHPy150Open bw2/ConfigArgParse/configargparse.py/ArgumentParser.get_command_line_key_for_unknown_config_file_setting