How to convert comma-delimited string to list in Python?

Given a string that is a sequence of several values separated by a commma:

mStr="A,B,C,D,E" 

How do I convert the string to a list?

mList = ['A', 'B', 'C', 'D', 'E']

7 Answers
7

Leave a Comment