summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-09-25 02:54:43 -0400
committerKenneth Reitz <me@kennethreitz.com>2010-09-25 02:54:43 -0400
commit17e90e71e5406fc8621c254e58ae6cf169e38c34 (patch)
treef0860302c94cedbf6cad3c2c98e8c8f16fd83a87
parent7364995eaabf49d35652754158151a232af08a22 (diff)
downloadtablib-17e90e71e5406fc8621c254e58ae6cf169e38c34.tar.gz
test
-rw-r--r--test.py19
1 files changed, 19 insertions, 0 deletions
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