PyMOTW: shlex

by Doug Hellmann

The shlex module can be used to create mini-languages using simple syntaxes like the Unix shell. It is also handy for parsing quoted strings.