[Chennaipy] Parser Code
KS Sreeram
ks at claylabs.com
Sun Jul 5 12:07:13 CEST 2015
Hi folks
I've attached 'parse.py' which has the parser code I presented in the last meetup. This is a self-contained program that doesn't depend on any other modules.
The file has the parser building blocks followed by 3 examples. I've added comment sections describing each of the building blocks.
In order to run the program you must uncomment one of the example initializers.
#
# Uncomment one of the following lines.
#
# main_parser = example1()
# main_parser = example2()
# main_parser = example3()
The first two examples are simple and the third is a bit more complex.
If anybody has any questions at all, do feel free to ask me!
Cheers
KS Sreeram
http://claylabs.com <http://claylabs.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chennaipy/attachments/20150705/139d5398/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parse.py
Type: text/x-python-script
Size: 12016 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/chennaipy/attachments/20150705/139d5398/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chennaipy/attachments/20150705/139d5398/attachment-0001.html>
More information about the Chennaipy
mailing list