Increase the search radius for cafe stops
This commit is contained in:
parent
f740686d2f
commit
9ec3b2e980
2 changed files with 25 additions and 1 deletions
21
scripts/summarizeRoutes.py
Normal file
21
scripts/summarizeRoutes.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import csv
|
||||
import sys
|
||||
|
||||
path = sys.argv[1]
|
||||
|
||||
with open(path) as f:
|
||||
r = csv.reader(f)
|
||||
skip = True
|
||||
for x in r:
|
||||
if skip:
|
||||
skip = False
|
||||
continue
|
||||
coffee = x[7].strip()
|
||||
lunch = x[8].strip()
|
||||
tea = x[9].strip()
|
||||
if coffee and tea:
|
||||
print(coffee + ", " + lunch + ", " + tea)
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue