human
Converting a String to List in Python
assistant
Here is some code to split string "0,1,2" based on delimiter ','

"""0,1,2""".split(',')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.