Also try::
- --form benchmark=2020 \
- https://geocoding.geo.census.gov/geocoder/locations/addressbatch \
+ --form benchmark=2020 \\
+ https://geocoding.geo.census.gov/geocoder/locations/addressbatch \\
--output geocoderesult.csv
"""
logger.debug("Response: %s", r.text)
for line in r.text.split("\n"):
line = line.strip()
- if len(line) > 0:
+ if line:
out.append(line)
return out