On Thursday 18 May 2006 11:11, Guido van Rossum wrote: > This is not an apropriate function to add as a string methods. There > are too many conventions for quoting and too many details to get > right. One method can't possibly handle them all without an enormous > number of weird options. It's better to figure out how to do this with > regexps or use some of the other approaches that have been suggested. > (Did anyone mention the csv module yet? It deals with this too.) Maybe my idea is better called splitexcept instead of splitquoted, as my goal is to (simply) provide a way to limit the split by delimiters, and not dive into an all encompassing quoting algorithm. It me this is in the spirit of the maxsplit option already present. Dave
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4