Python:shlex
lastmod 2021-03-09created 2021-03-091 edits
Simple lexical analysis.
The shlex class makes it easy to write lexical analyzers for simple syntaxes resembling that of the Unix shell. This is often useful for writing mini-languages (e.g. in run control files for Python applications) or for parsing quoted strings.