使用re.split()功能的溶液: import re cStr = '"aaaa","bbbb","ccc,ddd"' newStr = re.split(r',(?=")', cStr) print newStr
確定! 回上一頁