I have the following string:
strIn = "Head,0.000235532,0.43656735"
I would like to retrieve from this a variable type = "Head"
and an array
vals = [0.000235532,0.43656735]
How can I do this using Python? I've considered using strIn[0],...,strIn[5] to get the type, but then I realized I'll get types of various lengths. Thanks.