Python Google Maps Distance Matrix API Example Tkinter GUI Distance-Time Calculator Between Two Countries or Cities Desktop App Full Project For Beginners

You are currently viewing Python Google Maps Distance Matrix API Example Tkinter GUI Distance-Time Calculator Between Two Countries or Cities Desktop App Full Project For Beginners

 

Welcome folks today in this tutorial we will be making a distance-time calculator desktop app using the google maps distance matrix api in python full project for beginners. All the source code of the application is shown below.

 

 

 

Get Started

 

 

 

In order to get started you need to install the following libraries inside your python project by using the pip command

 

pip install tkinter

 

pip install requests

 

pip install json

 

 

Now after installing all these libraries make an app.py file and copy paste the following code

 

app.py

 

 

 

 

Now inside this python script just replace the api_key and then run this by typing the below command

 

python app.py

 

 

 

Leave a Reply