5.20 shlex -- Simple lexical analysis

New in version 1.5.2.

The shlex class makes it easy to write lexical analyzers for simple syntaxes resembling that of the Unix shell. This will often be useful for writing minilanguages, (e.g. in run control files for Python applications) or for parsing quoted strings.

See Also:

Module ConfigParser:
Parser for configuration files similar to the Windows .ini files.

See About this document... for information on suggesting changes.