Re: [Pyparsing] Problem with .dump()
Brought to you by:
ptmcg
From: Robin S. <ml...@ds...> - 2015-04-22 04:12:58
|
I was able to revert to a previous save and everything displays correctly now. :) > mlist @dslextreme.com <mailto:ml...@ds...> > Tuesday, April 21, 2015 3:30 PM > For some reason pastern says my paste has been removed, so I am > sharing it on Dropbox > <https://www.dropbox.com/s/s4chl173yi4xyj8/foo.py?dl=0> > > > mlist @dslextreme.com <mailto:ml...@ds...> > Tuesday, April 21, 2015 11:25 AM > Thanks for all the help with my previous problem. Now I almost have > it parsing everything I want, but I have a display problem. When I > print result.track.dump(), instead of everything printing out nicely > in a hierarchy, everything prints out as a list, i.e. [[ bunch o' > data]]. I *had* it displaying correctly before, so I am sure that it > has something to do with grouping or ResultNames. However, I haven't > been able to fix the problem via trial and error. > > Since the script is rather long now, I pasted it to my pastern - > Pastebin - pyparsing script <http://pastebin.com/u8XVEtxt> -- Sent with Postbox <http://www.getpostbox.com> |