Repository navigation
Expand file tree
/
Copy pathapp.py
More file actions
104 lines (75 loc) · 2.45 KB
/
Copy pathapp.py
File metadata and controls
104 lines (75 loc) · 2.45 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
from flask import Flask
from flask import render_template
app = Flask(__name__)
@app.route('/')
@app.route('/home')
def index():
return render_template("index.html")
@app.route('/about')
def about():
return render_template("about.html")
@app.route('/fields')
def fields():
return render_template("fields.html")
@app.route('/scientists')
def scientistmodel():
return render_template("scientistmodel.html")
@app.route('/theories')
def theorymodel():
return render_template("theorymodel.html")
@app.route("/theories/calculus")
def theoryCalculus():
return render_template("theoryCalculus.html")
@app.route("/theories/dynamite")
def theoryDynamite():
return render_template("theoryDynamite.html")
@app.route("/theories/evolution")
def theoryEvolution():
return render_template("theoryEvolution.html")
@app.route("/theories/helio")
def theoryHelio():
return render_template("theoryHelio.html")
@app.route("/theories/relativity")
def theoryRelativity():
return render_template("theoryRelativity.html")
@app.route("/theories/turing")
def theoryTuring():
return render_template("theoryTuring.html")
@app.route("/scientists/newton")
def ScientistSirIsaacNewton():
return render_template("ScientistSirIsaacNewton.html")
@app.route("/scientists/turing")
def ScientistAlanTuring():
return render_template("ScientistAlanTuring.html")
@app.route("/scientists/einstein")
def ScientistAlbertEinstein():
return render_template("ScientistAlbertEinstein.html")
@app.route("/scientists/nobel")
def ScientistAlfredNobel():
return render_template("ScientistAlfredNobel.html")
@app.route("/scientists/darwin")
def ScientistCharlesDarwin():
return render_template("ScientistCharlesDarwin.html")
@app.route("/scientists/galileo")
def ScientistGalileo():
return render_template("ScientistGalileo.html")
@app.route("/fields/astronomy")
def fieldAstronomy():
return render_template("fieldAstronomy.html")
@app.route("/fields/biology")
def fieldBiology():
return render_template("fieldBiology.html")
@app.route("/fields/chemistry")
def fieldChemistry():
return render_template("fieldChemistry.html")
@app.route("/fields/compsci")
def fieldComputerScience():
return render_template("fieldComputerScience.html")
@app.route("/fields/mathematics")
def fieldMathematics():
return render_template("fieldMathematics.html")
@app.route("/fields/physics")
def fieldPhysics():
return render_template("fieldPhysics.html")
if __name__ == "__main__":
app.run('174.138.78.91','80')