The answer to a question on multiple-value elements in a config file (which exactly fits my needs) suggests to "unpack the string from the config". I read the doc for unpacking arguments lists suggested in several places but I fail to understand how this relates to my problem.
I am sure this must be obvious: having a string str = "123,456"
, how can I transform it into the list [123,456]
(the number of elements separated by a comma in the string may vary)
Thank you.