Commit 0ab02eb7 authored by Neeme Kahusk's avatar Neeme Kahusk

csvtabel

parent f9ed4da2
......@@ -48,9 +48,12 @@ def main():
args = parser.parse_args()
tabelifail = args.tablefile or 'tulbad.csv'
with open(tabelifail) as tf:
reader = csv.DictReader(csvfile, dialect=csv.excel_tab)
csvdata = [x for x in reader]
......@@ -71,8 +74,6 @@ def main():
print(get_xpath(r, args.xpath))
if __name__ == '__main__':
main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment