summaryrefslogtreecommitdiff
path: root/run_examples.py
diff options
context:
space:
mode:
authoryo mama <pepper@scannerjammer.com>2015-09-21 18:47:01 -0700
committeryo mama <pepper@scannerjammer.com>2015-09-21 18:47:01 -0700
commit86c79f4372d7b2e7640a26473c7a4d331cdf7d16 (patch)
tree8c2815ee8f72524708248a30b8c91377678ad00a /run_examples.py
parentb29b0ec5f11dd66434cbdfba5287c4777d7f8ac9 (diff)
run_examples works
Diffstat (limited to 'run_examples.py')
-rw-r--r--run_examples.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/run_examples.py b/run_examples.py
new file mode 100644
index 0000000..ce07dcc
--- /dev/null
+++ b/run_examples.py
@@ -0,0 +1,6 @@
+import sys
+sys.path.append('./lib')
+from Pb import *
+for cls in Pb.__subclasses__():
+ print cls.__name__
+ cls.example_run()