From dfeb2636eb83098ebd621ce2add83ef9e256318f Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 16 Jan 2012 04:27:54 +0000 Subject: Created python bindings. They use the classic python dump/load/dumps/loads paradigm --- python/test.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 python/test.py (limited to 'python/test.py') 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 @@ +#!/usr/bin/python + +import gats + +#print gats.load( open('test.gats', 'rb') ) + +#gats.dump( 3.14159, open('out.gats', 'wb') ) + +print gats.loads( + gats.dumps( + 500.12345 + ) + ) -- cgit v1.2.3