summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-06-22 13:16:09 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-06-22 13:16:09 -0400
commit07d243bbc9754ea9521a0170629b6aac8eac4ac1 (patch)
treeb47623a19d989f5436eab46bd590066778f1708e
parentbf3484e606dfd67df53dc4de02916a8f9717ed8f (diff)
downloadtablib-07d243bbc9754ea9521a0170629b6aac8eac4ac1.tar.gz
testing GitHub for Mac
-rw-r--r--toy.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/toy.py b/toy.py
new file mode 100644
index 0000000..fea9860
--- /dev/null
+++ b/toy.py
@@ -0,0 +1,15 @@
+# -*- coding: utf-8 -*-
+
+import tablib
+
+d = tablib.Dataset()
+
+with open('/Users/kreitz/Desktop/test.json') as f:
+ d.json = f.read()
+
+# del d[900:]
+
+# print d.height
+
+print len(d.ods)
+