summaryrefslogtreecommitdiff
path: root/pysquaredeal.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysquaredeal.py')
-rw-r--r--pysquaredeal.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pysquaredeal.py b/pysquaredeal.py
new file mode 100644
index 0000000..4f12df6
--- /dev/null
+++ b/pysquaredeal.py
@@ -0,0 +1,10 @@
+import sys
+
+from squaredeal import SquareDeal
+
+
+sd = SquareDeal()
+sd.fromfile(sys.argv[1], encoding=sys.argv[2] if len(sys.argv) > 2 else 'utf-8')
+print(sd.__dict__)
+for phase in sd.phases:
+ print(phase.__dict__)