I have the following list: '[TW', 6.5, 'TS', 5.0, 'core_h', 2.0, 'core_tand', 2.0, 'core_er', 2.0, 'trace_height', 5.0, 'trace_er', 5.0, 'trace_tand', 5.0, 'D', 5.0, 'prepreg_h', 14.0, 'prepreg_er', 14.0, 'prepreg_tand', 14.0, 'roughness_level', 22.0]
Is there a way I can convert it into a string and write it in a filename.xml form where filename is these valriables along with their values?
They can be seperated b an underscore if comma isnt allowed
",".join(YourList)or"_".join(YourList)?variablename1_<value>-variablename2_<val>-....-variablename_N_<value>.xml