-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
52 lines (31 loc) · 889 Bytes
/
main.py
File metadata and controls
52 lines (31 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from flask import Flask , render_template , url_for
app = Flask(__name__)
@app.route('/')
def home():
return render_template('index.html')
@app.route('/about')
def about():
return render_template('about.html')
@app.route('/service')
def service():
return render_template('service.html')
@app.route('/feature')
def feature():
return render_template('future.html')
@app.route('/team')
def team():
return render_template('team.html')
@app.route('/appointment')
def appointment():
return render_template('appointment.html')
@app.route('/testimonial')
def testimonial():
return render_template('testimonial.html')
@app.route('/not_found')
def not_found():
return render_template('not_found.html')
@app.route('/contact')
def contact():
return render_template('contact.html')
if __name__ == '__main__':
app.run(debug=True , port=8000)