When using the Python string function split(), does anybody have a nifty trick to treat items surrounded by double-quotes as a non-splitting word?
Say I want to spli
I suggest you search with re for the pattern "[^"]*" and apply string.split only on the remaining parts. You could implement a recursive function that processes all relevant string parts.
re