On Mon, 19 Nov 2012 16:05:30 -0800, josh wrote: > I am working on a cmd.Cmd-based program, and normally could just split > the string and get the right parts. > > Now I have a case where I could have two or three words in the string > that need to be grouped into the same thing.
Try shlex.split. -- Steven -- http://mail.python.org/mailman/listinfo/python-list