aboutsummaryrefslogtreecommitdiff
path: root/csv2json.py
diff options
context:
space:
mode:
authorFriedrich Beckmann <friedrich.beckmann@tha.de>2026-03-19 16:32:25 +0100
committerFriedrich Beckmann <friedrich.beckmann@tha.de>2026-03-19 16:32:25 +0100
commitc1ab09557eb5e4ae7b21b424017fb44180473e86 (patch)
treefff2fa75a44d86b9487a6aa94c814e71f2a0cb1e /csv2json.py
parent8f4d0943673c311273d5ff2c4cbedb7a65314d5c (diff)
remove ods, csv - just crawl
Diffstat (limited to 'csv2json.py')
-rw-r--r--csv2json.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/csv2json.py b/csv2json.py
deleted file mode 100644
index 20c264d..0000000
--- a/csv2json.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import csv
-import json
-
-csvfile = open('kurse.csv', 'r')
-jsonfile = open('kurse.json', 'w')
-
-reader = csv.DictReader( csvfile)
-out = json.dumps( [ row for row in reader ] )
-jsonfile.write(out) \ No newline at end of file