Project

General

Profile

1
import json
2
f = open('historyObjects.csv')
3

    
4

    
5
res = []
6

    
7
s = f.readline().strip().split(',')
8
s[0] ='x'
9

    
10
res.append([x.replace('/','-') for x in  s])
11

    
12
for line in f:
13
    res.append(line.strip().split(','))
14

    
15

    
16
print json.dumps(res,indent=1)
17

    
18

    
(10-10/14)