def create_nzb_string(file_elements, xmlns):
 root_element = ETree.Element('nzb')
 if xmlns:
  root_element.set('xmlns', xmlns)
 for cur_file in file_elements:
  root_element.append(strip_xmlns(cur_file, xmlns))
 return ETree.tostring(ss(root_element))

def create_nzb_string ( file_elements , xmlns ) : root_element = ETree . Element ( 'nzb' ) if xmlns : root_element . set ( 'xmlns' , xmlns ) for cur_file in file_elements : root_element . append ( strip_xmlns ( cur_file , xmlns ) ) return ETree . tostring ( ss ( root_element ) )
extract extra info from file_elements .