🚧 What It Does

This simple python script allows you to find the distance between two points.

👨🏾‍💻 How I Built It

As I've mentioned before, I love to find hacky ways to solve problems. I realized I can load a database of cities, match the user inputted city with latitude and longitude points in the database, and find the distance between the two points. I solve the first two problems by downloading a public dump of city data and importing it to python. I solved the third and final problem by using Haversine's Formula, which is a formula to calculate the distance between two points. Using this knowledge, I created a no API and import script, which can be implemented in any language.

📙 What I Learned

I learned that you can do advanced things, in python, without using APIs.

Built With

Share this project:

Updates