☰
Debian Codegraph
@
1.5.54-2
/
/
test
/
testflask.py
☽
☼
test/testflask.py
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Emery Berger <
[email protected]
>
debian/copyright
1
from
flask
import
Flask
2
3
app =
Flask
(__name__)
4
5
cache = {}
6
7
8
@
app
.
route
(
"/<page>"
)
9
def
index
(page):
10
if
page not in cache:
11
cache[page] =
f"<h1>Welcome to
{
page
}
</h1>"
12
return
cache[page]
13
14
15
if
__name__ ==
"__main__"
:
16
app.
run
()