I have a line that represents a list:
"[22, 33, 36, 41, 46, 49, 56, 72, 85, 92, 95, 98, 107, 118, 120, 123, 124, 126, 127, 130, 149, 157, 161, 171, 174, 177, 187, 195, 225, 302, 316, 359, 360, 363, 396, 479, 486, 491]"
I would like to turn this character string into an actual list. I guess one could re-set numbers and quote later ( append()
), but is there an easier way? Not sure how I would set this as a regular expression.