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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com