回答編集履歴
3
プライバシー
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
path = '/Users/xxx/Documents/
|
11
|
+
path = '/Users/xxx/Documents/src/test1.csv'
|
12
12
|
|
13
13
|
|
14
14
|
|
2
フォルダ名
test
CHANGED
@@ -10,10 +10,6 @@
|
|
10
10
|
|
11
11
|
path = '/Users/xxx/Documents/PySrc/test1.csv'
|
12
12
|
|
13
|
-
jpath = '/Users/xxx/Documents/xxx/Source/demo.json'
|
14
|
-
|
15
|
-
|
16
|
-
|
17
13
|
|
18
14
|
|
19
15
|
csvfile = open(path, 'r',encoding="utf-8")
|
@@ -22,11 +18,7 @@
|
|
22
18
|
|
23
19
|
|
24
20
|
|
25
|
-
#fieldnames = ("key","value1","value2")
|
26
|
-
|
27
21
|
reader = csv.DictReader(csvfile)
|
28
|
-
|
29
|
-
|
30
22
|
|
31
23
|
|
32
24
|
|
@@ -35,12 +27,6 @@
|
|
35
27
|
|
36
28
|
|
37
29
|
json.dump(row, jsonfile, ensure_ascii=False)
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
30
|
|
45
31
|
|
46
32
|
|
1
プライバシー的な問題で変更
test
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
path = '/Users/
|
11
|
+
path = '/Users/xxx/Documents/PySrc/test1.csv'
|
12
12
|
|
13
|
-
jpath = '/Users/
|
13
|
+
jpath = '/Users/xxx/Documents/xxx/Source/demo.json'
|
14
14
|
|
15
15
|
|
16
16
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
data = row
|
52
52
|
|
53
|
-
r = requests.post("http://localhost:
|
53
|
+
r = requests.post("http://localhost:xxx/", data=data)
|
54
54
|
|
55
55
|
|
56
56
|
|