Skip to content

Instantly share code, notes, and snippets.

@n8han
Created April 19, 2011 23:17
Show Gist options
  • Save n8han/929955 to your computer and use it in GitHub Desktop.
Save n8han/929955 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import stream, storage
if __name__ == "__main__":
# start piping the stream to our storage
stream.jsonizer(storage.event_callback)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment