diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2011-06-22 13:16:09 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2011-06-22 13:16:09 -0400 |
| commit | 07d243bbc9754ea9521a0170629b6aac8eac4ac1 (patch) | |
| tree | b47623a19d989f5436eab46bd590066778f1708e | |
| parent | bf3484e606dfd67df53dc4de02916a8f9717ed8f (diff) | |
| download | tablib-07d243bbc9754ea9521a0170629b6aac8eac4ac1.tar.gz | |
testing GitHub for Mac
| -rw-r--r-- | toy.py | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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) + |
