aboutsummaryrefslogtreecommitdiff
path: root/python/test.py
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-01-16 04:27:54 +0000
committerMike Buland <eichlan@xagasoft.com>2012-01-16 04:27:54 +0000
commitdfeb2636eb83098ebd621ce2add83ef9e256318f (patch)
tree5ef416c3410c97cfd95710413de46093e17231ae /python/test.py
parente3efaf2a9ad82deb1644ccab8c1469719a0c5b65 (diff)
downloadlibgats-dfeb2636eb83098ebd621ce2add83ef9e256318f.tar.gz
libgats-dfeb2636eb83098ebd621ce2add83ef9e256318f.tar.bz2
libgats-dfeb2636eb83098ebd621ce2add83ef9e256318f.tar.xz
libgats-dfeb2636eb83098ebd621ce2add83ef9e256318f.zip
Created python bindings. They use the classic python dump/load/dumps/loads
paradigm
Diffstat (limited to 'python/test.py')
-rwxr-xr-xpython/test.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/python/test.py b/python/test.py
new file mode 100755
index 0000000..14e8306
--- /dev/null
+++ b/python/test.py
@@ -0,0 +1,13 @@
1#!/usr/bin/python
2
3import gats
4
5#print gats.load( open('test.gats', 'rb') )
6
7#gats.dump( 3.14159, open('out.gats', 'wb') )
8
9print gats.loads(
10 gats.dumps(
11 500.12345
12 )
13 )