def make_filename(name):
 for _ in FILENAME_EXCLUDE:
  name = name.replace(_, ' ')
 return ''.join((s.title() for s in name.split() if s))

def make_filename ( name ) : for _ in FILENAME_EXCLUDE : name = name . replace ( _ , ' ' ) return '' . join ( ( s . title ( ) for s in name . split ( ) if s ) )
make speaker image filename for export .