Skip to content

Commit 5077982

Browse files
committed
bam
1 parent 271deaf commit 5077982

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

‎v3/composingprograms.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,10 @@
171171
The following modules may be imported:
172172
bisect,
173173
collections,
174+
copy,
174175
datetime,
175176
functools,
177+
hashlib,
176178
heapq,
177179
itertools,
178180
json,

‎v3/css/opt-live.css‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
min-height: 40px;
3535
}
3636

37+
#liveModeHeader {
38+
margin-left: 3px;
39+
margin-bottom: 12px;
40+
color: #888;
41+
}
42+
3743
/* copied from pytutor.css */
3844
div#legendDiv {
3945
margin-top: 8px;

‎v3/live.html‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
-->
3333

3434
<head>
35-
<title>Python Tutor Live - Live Programming and Visualizations</title>
35+
<title>Live Programming Mode - Python Tutor - Visualize Code Live</title>
3636
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
3737

3838
<!-- requirements for pytutor.js -->
@@ -59,6 +59,19 @@
5959
</head>
6060

6161
<body>
62+
63+
<div id="liveModeHeader">
64+
65+
This is the <b>live programming mode</b> of Python Tutor, which
66+
continually runs and visualizes your code as you write. Help
67+
us improve this mode by filling out this <a target="_blank"
68+
href="https://docs.google.com/forms/d/1XT-rPaWxDRNOPAfBxIqzCXs7nYGUgOjNofmUnuQZYV8/viewform">two-question
69+
survey</a>. Or return to the <a
70+
href="http://pythontutor.com/visualize.html" target="_blank">regular
71+
Python Tutor visualizer</a>.
72+
73+
</div>
74+
6275
<table>
6376
<tr>
6477
<td valign="top">
@@ -112,7 +125,7 @@
112125
description in an email addressed to philip@pgbovine.net</p>
113126

114127
<p style="margin-top: 35px;">
115-
This live programming version of
128+
This live programming mode of
116129
<a href="http://pythontutor.com/">Python Tutor</a> (<a href="https://github.com/pgbovine/OnlinePythonTutor">code on GitHub</a>) supports three
117130
languages: Python <a href="http://www.python.org/doc/2.7/">2.7</a> and <a
118131
href="http://www.python.org/doc/3.3.0/">3.3</a> with limited module

0 commit comments

Comments
 (0)