I would like to convert a list of string to sequence of variables. For example, i have a list
my_list=["var1","var2","var3"]
and i want to create a line with var1,var2,var3 = map(str.strip, line.split())
(because my list and my line of variables of course, is variable).
Please can you give me few leads?