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!

Step-by-Step Guide on Deploying a Simple Flask App to Heroku

Posted by Julian on Fri 21 July 2017 in Flask • Tagged with Flask, python, beginner, sessions, learning, code, Heroku • 5 min read

A step-by-step guide on deploying a simple flask app to Heroku.


Continue reading

Flask Web Server Port Mapping

Posted by Julian on Sat 01 July 2017 in Flask • Tagged with Flask, python, beginner, learning, ports, apps • 2 min read

A quick post on Flask App port mapping


Continue reading

Flask Sessions

Posted by Julian on Fri 02 June 2017 in Flask • Tagged with Flask, python, beginner, sessions, learning, examples, code • 4 min read

In this quick post I discuss Flask Sessions and provide a few use cases.


Continue reading

Building a Simple Birthday App with Flask-SQLAlchemy

Posted by Bob on Thu 11 May 2017 in Flask • Tagged with Flask-SQLAlchemy, SQLAlchemy, Flask, Facebook, birthday, calendar, icalendar, datetime • 3 min read

In this article I teach you how to get started with Flask-SQLAlchemy. I will set up a model, create the DB, retrieve birthdays from FB and import them into the DB. Lastly I will query the birthdays by date range.


Continue reading

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

Beginning Flask

Posted by Julian on Thu 13 April 2017 in Flask • Tagged with Flask, python, decorators, tutorial, learning • 5 min read

In this post I cover the basics of Flask in language that anyone can understand.


Continue reading

Flask for Loops - Printing Dict Data

Posted by Julian on Thu 06 April 2017 in Flask • Tagged with Flask, loops, python, decorators, tutorial, learning • 4 min read

In this post I demo how to create an extremely simple Flask app that prints the contents of a Dict to a web page.


Continue reading

Simple API Part 2 - Building a Deep Work Logger with Flask, Slack and Google Docs

Posted by Bob on Fri 10 March 2017 in Flask • Tagged with Flask, Slack, Google docs, Heroku, APIs, pygsheets, git, commands, productivity, learning • 3 min read

After Simple API - part 1 a more practical app in this part 2 tutorial: a Deep Work logger integrating Google docs and Slack, including deployment of the app to Heroku.


Continue reading

How To Build a Simple API with Flask and Unit Test it

Posted by Bob on Fri 03 March 2017 in Flask • Tagged with APIs, Flask, REST, curl, testing, unittest, inventory • 3 min read

In this post I will create a simple API with Flask and test it with curl and unit testing its HTTP methods.


Continue reading