字符串转数组 str = '1,2,3' arr = str.split(',') 数组转字符串 arr = ['a','b'] str = ','.join(arr) arr = [1,2,3] str = ','.join(str(i) for i in b) 来源:https://www.cnblogs.com/Lanht/p/12120389.html 标签 python数组 python字符串 数组 python arr