Small scanner written in Python.