From 86c79f4372d7b2e7640a26473c7a4d331cdf7d16 Mon Sep 17 00:00:00 2001 From: yo mama Date: Mon, 21 Sep 2015 18:47:01 -0700 Subject: run_examples works --- run_examples.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 run_examples.py (limited to 'run_examples.py') 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() -- cgit v1.2.3-70-g09d2