diff --git a/test.py b/test.py new file mode 100644 index 0000000..0f021e4 --- /dev/null +++ b/test.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- + +import tablib + +data = tablib.Dataset() + +data.headers = ['a', 'b', 'c'] +data.append([1,2,3]) +data.append([1,2,3]) + +print data.dict + +new_data = tablib.formats.json.import_set(str(data.json)) +#print new_data.yaml + + + +# data.headers = ['one', 'two', 'three'] +# print data.dict \ No newline at end of file