【发布时间】:2023-01-02 23:02:01
【问题描述】:
字符串值
value = "[new=user,pass=h[]@,repalce=que]"
我需要输出作为列表
list = [ "new=user","pass=h[]@","repalce=que" ]
I am new to python just want to know how to deal with these type convertions
【问题讨论】:
-
不要使用
list作为名称,它会覆盖内置的list()。 -
pass=h[]@怎么变成了test=h[]@?
标签: python python-3.x string list pycharm