Download from the Python library or with pip install.
https://pypi.python.org/pypi/geocoder
I have no modules when I install with pip! I was angry You may want to download it to orthodox and set up.py.
geo.py
#!/user/bin/env python
# -*- coding: utf-8 -*-
import json
import csv
import geocoder
import sys, codecs
Localname = raw_input(u"")
g = geocoder.google(Localname)
print g.latlng
It's really easy ... Let's read the CSV in the external file and try various things.
Recommended Posts