File: toy.py

package info (click to toggle)
python-tablib 0.9.11-2%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 3,736 kB
  • sloc: python: 59,944; makefile: 111
file content (15 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)