You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
467 B
Python
28 lines
467 B
Python
2 years ago
|
from flask import Flask
|
||
|
app = Flask(__name__)
|
||
|
|
||
|
HTML_TEMPLATE = """
|
||
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>media archaeology jp multimedia playlist</title>
|
||
|
<style>
|
||
|
img{
|
||
|
display:block;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>computer archaeology jp multimedia playlist</h1>
|
||
|
</body>
|
||
|
</html>
|
||
|
"""
|
||
|
|
||
|
@app.route("/")
|
||
|
def homepage():
|
||
|
return HTML_TEMPLATE
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
app.run(use_reloader=True, debug=True)
|