From 14e2848aa277dc47527978ad9565ded4a57b5ec1 Mon Sep 17 00:00:00 2001
From: Wesley Shields <wxs@atarininja.org>
Date: Wed, 27 Nov 2013 15:53:20 -0500
Subject: [PATCH] Add a test file that uses the bindings.

---
 python/test.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100755 python/test.py

diff --git a/python/test.py b/python/test.py
new file mode 100755
index 0000000..6e8835f
--- /dev/null
+++ b/python/test.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+import sys
+import pepy
+from pprint import pprint
+
+p = pepy.parse(sys.argv[1])
+ep = p.get_entry_point()
+byts = p.get_bytes(ep, 8)
+print "Bytes at 0x%x: %s" % (ep, byts)
+for sect in p.get_sections():
+    pprint(sect)