Skip to content

Commit af865ef

Browse files
authored
Fixed json_to_csv.py
Removed tkinter library
1 parent 1278b3b commit af865ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/tmf8829/json_to_csv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import json
1919
import csv
2020
import gzip
21-
from tkinter import filedialog as tk_fd
21+
# from tkinter import filedialog as tk_fd # not available in JupyterLite
2222

2323
histogram_counter = 0
2424

@@ -173,4 +173,4 @@ def dumpSection( data:dict, section_name:str, section_tag:str ) -> None:
173173

174174
# record end time
175175
end = time.time()
176-
print("Conversion finished in {:.3f}".format(end-start), "s")
176+
print("Conversion finished in {:.3f}".format(end-start), "s")

0 commit comments

Comments
 (0)