Last active
January 24, 2021 22:52
-
-
Save Axel-Erfurt/03ff0c2234a6185f62521729453c5beb to your computer and use it in GitHub Desktop.
show CSV with zenipy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import zenipy | |
myfile = "/path/to/file.csv" | |
csv = open(myfile, "r").read().splitlines() | |
header = "\n".join(csv[:1]) | |
columns = header.split("\t") | |
t = "" | |
for line in csv[1:]: | |
values = "".join(line).split("\t") | |
t += "\n".join(values) | |
t += "\n" | |
zenipy.zlist(columns, t.splitlines(), text='', title=myfile, width=1000, height=500, timeout=None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version with File selector