[Python-Dev] New string method - splitquoted (original) (raw)
Dave Cinege dcinege-mlists-dated-1148408543.14cf06 at psychosis.com
Thu May 18 20:22:17 CEST 2006
- Previous message: [Python-Dev] New string method - splitquoted
- Next message: [Python-Dev] New string method - splitquoted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thursday 18 May 2006 04:21, Giovanni Bajo wrote:
It's already there. It's called shlex.split(), and follows the semantic of a standard UNIX shell, including escaping and other things.
Not quite. As I said in my other post, simple is the idea for this, just like the split method itself. (no escaping, etc.....just recognizing delimiters as an exception to the split seperatation)
shlex.split() does not let one choose the separator or use a maxsplit, nor is it a pure method to strings.
Dave
- Previous message: [Python-Dev] New string method - splitquoted
- Next message: [Python-Dev] New string method - splitquoted
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]