Article 5MCH7 Python: converting arg1=some_value arg2="a text string" to list

Python: converting arg1=some_value arg2="a text string" to list

by
rnturn
from LinuxQuestions.org on (#5MCH7)
The subject line pretty much sums it up. I have numerous atrings similar to the above that I am trying to convert to a list like:
Code:[ 'arg1=some_value', 'arg2=a text string' ]I've found tons of examples using split that produce things like:
Code:[ 'arg1=some_value', 'arg2=a', 'text', 'string' ]which isn't what I'm looking for---the quoted strings are the problem.

Ideas?

TIA...latest?d=yIl2AUoC8zA latest?i=VY3vR7et1UU:7jjaXWdd-UQ:F7zBnMy latest?i=VY3vR7et1UU:7jjaXWdd-UQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=VY3vR7et1UU:7jjaXWdd-UQ:gIN9vFwVY3vR7et1UU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments