["python","string","list"]
How to convert a string with comma-delimited items to a list in Python?

How do you convert a string into a list? Say the string is like text = "a,b,c". After the conversion, text == ['a', 'b', 'c'] and hopefully text[0] == 'a', text[1] == 'b'?
Like this: >>> text = 'a,b,c' >>> text = text.split(',') >>> text [ 'a', 'b', 'c' ]