New Flask documentation
This commit is contained in:
16
docs/rpi-documentation/Flask.md
Normal file
16
docs/rpi-documentation/Flask.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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.
|
Reference in New Issue
Block a user