gcode - Html scrapping with python (part 1)

Posted on 2008-05-09 02:38:15

On with my project, I have just finished my gcode parser class. After searching around a bit I found an awesome module called BeautifulSoup that allows you to navigate through the DOM in a very friendly and quick way, but since this is an Academic project I decided to only use it to a small extent and use regular expressions for the rest of the parsing.
I didn't manage to group named regular expressions as I wanted, which means I had to repeat some simple patterns but I hope to get it together for final version.
The code documentation is mainly in Portuguese because it's a college project, but it will eventually be released in English.

Download it here

Tags: code python gcode


Comments


Leave a reply