On Tue, 11 Nov 2008 11:59:50 -0800, André wrote:

> 4. I want to do this only using modules in the standard Python
>    library, as I want to use this to learn about the basics of parsing. 
>    So, please don't *simply* suggest to use a third-party module, such
>    as
>    [1] plex, [2] yapps, [3] pyparsing
>    The learning journey is more important for me than just having a
>    canned solution to my (current) parsing problem.

Believe me, there is no canned solution to your current parsing problem. 
Once you have a parser engine (e.g. pyparsing) you still have to build a 
parser, and that's not necessarily trivial.

Other than that, try this:

http://docs.python.org/library/shlex.html



-- 
Steven
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to