If you work with location data, you might want to visualize them on the map. Geopy makes it easy to locate the coordinates of addresses across the globe based on a Python string.
After defining the app name and insert location, all you need to exact information about the location is to use location.address
.
To extract the latitude and longitude or the use location.latitide
, location.longitude
.
Above is an example. Try it with any address that you can think of. Geopy will figure it out.