Learn how to find distance between two cities or two county using python. With the help of this python project we are able to find distance between two geographical region.
To get distance we have to put latitude and longitude of two place then we can find the distance.
It will find the shortest distance between two point.
We are going to use use geopy library.
geopy is a Python client for several popular geocoding web services.

geopy makes it easy for Python developers to locate the coordinates of addresses, cities, countries, and landmarks across the globe using third-party geocoders and other data sources.
geopy includes geocoder classes for the OpenStreetMap Nominatim, Google Geocoding API (V3), and many other geocoding services. The full list is available on the Geocoders doc section. Geocoder classes are located in geopy.geocoders.

geopy is tested against CPython (versions 3.5, 3.6, 3.7, 3.8, 3.9) and PyPy3. geopy 1.x line also supported CPython 2.7, 3.4 and PyPy2.

Link of site :https://pypi.org/project/geopy/

Cmd command to install:
" pip install geopy "

To confirm the distance, use this website:
link: https://www.geodatasource.com/distance-calculator

#python

Distance Between Two Places using Python | Pip install Geopy
30.80 GEEK