diff options
Diffstat (limited to 'csv2json.py')
| -rw-r--r-- | csv2json.py | 9 |
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 |
