toy.py 187 B

123456789101112131415
  1. # -*- coding: utf-8 -*-
  2. import tablib
  3. d = tablib.Dataset()
  4. with open('/Users/kreitz/Desktop/test.json') as f:
  5. d.json = f.read()
  6. # del d[900:]
  7. # print d.height
  8. print len(d.ods)