Skip to content

Commit 31c9d0e

Browse files
authored
Update DataExcelReader.py
1 parent 721b1d0 commit 31c9d0e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

DataExcelReader.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
# Python Data Excel Reader
12
# Max Base
2-
#
3+
# https://github.com/BaseMax/PythonDataExcelReader
4+
# 2020-11-06
5+
36
import json
47

58
def readExel(fileTxt):
@@ -20,3 +23,6 @@ def readExel(fileTxt):
2023

2124
rows=readExel('input.txt')
2225
print(rows)
26+
output = open("output.json", "w")
27+
output.write( json.dumps(rows))
28+
output.close()

0 commit comments

Comments
 (0)