Files
J1B3-Sensor-boxes/docs/rpi-documentation/Flask.md
2024-03-13 14:45:23 +01:00

16 lines
393 B
Markdown

# 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
```python
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.