from geopy import geocoders
gn = geocoders.GeoNames()
print(gn.geocode('Cleveland, OH 44106'))
gn.geocode('Cleveland, OH', exactly_one=False)[0]
Python module for getting latitude and longitude from the name of a US city?