16 lines
393 B
Markdown
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. |