Skip to content

Commit 7a54fad

Browse files
author
Philip Guo
committed
change tutor.html -> visualize.html
1 parent 23a0dd1 commit 7a54fad

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎v3/css/opt-frontend.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* CSS accompanying ../tutor.html */
1+
/* CSS accompanying ../visualize.html */
22

33
h1 {
44
font-weight: normal;

‎v3/index.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
<h1><span id="learnHeading">LEARN</span> <span class="smallH1">to program in Python by writing code and visualizing execution</span></h1>
6666

67-
<p><a id="optLink" href="tutor.html">Online Python Tutor</a>
67+
<p><a id="optLink" href="visualize.html">Online Python Tutor</a>
6868
enables teachers and students to write <a
6969
href="http://www.python.org/">Python</a> programs directly in the web
7070
browser, execute those programs, and then step forwards and backwards
@@ -94,7 +94,7 @@ <h1><span id="learnHeading">LEARN</span> <span class="smallH1">to program in Pyt
9494
</p>
9595

9696
<div id="startLink">
97-
<a href="tutor.html">Start using Online Python Tutor now</a>
97+
<a href="visualize.html">Start using Online Python Tutor now</a>
9898
</div>
9999

100100
</div>
@@ -150,7 +150,7 @@ <h1><span id="shareHeading">SHARE</span> <span class="smallH1">visualizations on
150150
students to seek assistance than copying-and-pasting code snippets.</p>
151151

152152
<p> For example, clicking <a
153-
href="tutor.html#code=%23+find+primes+using+a+for-else+construct%0Afor+n+in+range(2,+10)%3A%0A++++x_range+%3D+range(2,+n)%0A++++for+x+in+x_range%3A%0A++++++++if+n+%25+x+%3D%3D+0%3A%0A++++++++++++break%0A++++else%3A%0A++++++++%23+loop+fell+through+without+finding+a+factor%0A++++++++print(n)&curInstr=43&mode=visualize&cumulative_mode=false&python_version=2">this
153+
href="visualize.html#code=%23+find+primes+using+a+for-else+construct%0Afor+n+in+range(2,+10)%3A%0A++++x_range+%3D+range(2,+n)%0A++++for+x+in+x_range%3A%0A++++++++if+n+%25+x+%3D%3D+0%3A%0A++++++++++++break%0A++++else%3A%0A++++++++%23+loop+fell+through+without+finding+a+factor%0A++++++++print(n)&curInstr=43&mode=visualize&cumulative_mode=false&python_version=2">this
154154
link</a> brings you directly to step 44 of 57 in a program that finds
155155
prime numbers using the Python <tt>for-else</tt> construct.</p>
156156

‎v3/js/index.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎v3/pythontutor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class TutorPage(webapp2.RequestHandler):
4444

4545
def get(self):
4646
self.response.headers['Content-Type'] = 'text/html'
47-
template = JINJA_ENVIRONMENT.get_template('tutor.html')
47+
template = JINJA_ENVIRONMENT.get_template('visualize.html')
4848
self.response.out.write(template.render())
4949

5050

File renamed without changes.

0 commit comments

Comments
 (0)