Parser needed.

Steven D'Aprano steve at pearwood.info
Thu Jun 4 13:14:12 EDT 2015


On Fri, 5 Jun 2015 03:02 am, Skybuck Flying wrote:

> Yeah... my first nice parser for this kind of stuff...
> 
> Python is really nice for this stuff...
> 
> Piece a cake.. now I just need to stuff it in some dictionary and I am
> done or so ;)
> 
> Though a dictionary might be hard to traverse in sequence...

Use an ordered dict:

from collections import OrderedDict


-- 
Steven




More information about the Python-list mailing list