Skip to content

Flask

Introduction

Flask is a micro web framework written in Python. It is easy to use and has a lot of documentation. We are going to use Flask to serve our REST api.

Cheatsheet

1
print(f"Hello world have a nice {args}!")
This way you can put variables in a string. This is called f-strings.

Rules for python

  • You can only use one return statement in a function.