Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniel Somerfield danielsomerfield

  • hatchdata.com
  • Vancouver, BC
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

View sax_example.py
import xml.sax
class Handler(xml.sax.ContentHandler):
def __init__(self):
super().__init__()
self.current_id = 0
self.stack = []