split把字符串分割成列表,和js里的split里的用法一样

str = "a,b,c"
list = str.split(",") # [a,b,c]

 

相关文章: