mirror of
https://github.com/RustyRaptor/Python-Machine-Learning-Second-Edition.git
synced 2026-12-03 16:05:20 -07:00
commit
This commit is contained in:
1 parent
09cae8e082
commit
9be5173182
299 files changed
+46939
No files matched your search
@@ -0,0 +1,10 @@
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
return render_template('first_app.html')
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>First app</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div>
|
||||
Hi, this is my first Flask web app!
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user