Tokenize

Hartmut Goebel h.goebel at crazy-compilers.com
Mon Jul 28 06:47:36 EDT 2003


Andrew Dalke schrieb:

> Another option is the little-known 'shlex' module, part of the standard
> library.
...
> As you can see, it treats '-' unexpectedly (compared to the shell).

This is why shellword was written (see 
<http://www.crazy-compilers.com/py-lib/>)

Regards
Hartmut Goebel
-- 
| Hartmut Goebel               | We build the crazy compilers |
| h.goebel at crazy-compilers.com | Compiler Manufacturer        |





More information about the Python-list mailing list