earn the White PyBites Ninja earn the Yellow PyBites Ninja earn the Orange PyBites Ninja right arrow earn more PyBites Ninja belts and certificates
The best way to learn to code in Python is to actually use the language.

Our platform offers effective Test Driven Learning which will be key to your progress.


Join thousands of Pythonistas and start coding!


Join us on our PyBites Platform
Click here to code!

Simple Flask app to compare the weather of 2 cities

Posted by Bob on Thu 20 April 2017 in Flask • Tagged with Flask, weather, API, OpenWeatherMap, learning, Heroku, pytz, deploy, Jinja, CSS • 3 min read

In this post I show you how to build a simple Flask app to compare the weather of 2 cities using the OpenWeatherMap API. Maybe this aids you in solving this week's challenge.


Continue reading