I need to be able to take a string like:
\'\'\'foo, bar, \"one, two\", three four\'\'\'
into:
[\'foo\', \'bar\', \'one, two
I'd say a regular expression would be what you're looking for here, though I'm not terribly familiar with Python's Regex engine.
Assuming you use lazy matches, you can get a set of matches on a string which you can put into your array.