#!/usr/bin/python import gats print isinstance( True, bool ) print isinstance( True, int ) print isinstance( 1, bool ) print isinstance( 1, int ) print gats.loads( gats.dumps( [0, 1, 2, 3, None, {'hi': None, 'bye': 1}] ) ) gats.dump( [0, 1, 2, 3, None, {'hi': None, 'bye': 1}], open('test.gats', 'w') ) gats.dump( 'hello', open('test-str.gats', 'w') )