Quick dirty python library use example

I'm fully aware of the ugliness of the code provided