|
176 | 176 |
|
177 | 177 | <div id="pyInputPane"> |
178 | 178 |
|
179 | | -<div id="codeInputWarnings">Write Python code here or <a href="#" id="firstExampleDupLink">load an example</a>:</div> |
| 179 | +<div id="codeInputWarnings">Write |
| 180 | + |
| 181 | + <select id="pythonVersionSelector"> |
| 182 | + <option value="2">Python 2.7</option> |
| 183 | + <option value="3">Python 3.3</option> |
| 184 | + <option value="2crazy">Py 2.crazy</option> |
| 185 | + </select> |
| 186 | + |
| 187 | +code here or <a href="#" id="firstExampleDupLink">load an example</a>:</div> |
180 | 188 | <div id="codeInputPane"></div> <!-- populate with a CodeMirror or Ace code editor instance --> |
181 | 189 | <div id="frontendErrorOutput"></div> |
182 | 190 | <div id="surveyPane"></div> |
|
186 | 194 | </p> |
187 | 195 |
|
188 | 196 | <p style="margin-top: 20px; line-height: 200%;"> |
189 | | -Execute code using |
190 | | - <select id="pythonVersionSelector"> |
191 | | - <option value="2">Python 2.7</option> |
192 | | - <option value="3">Python 3.3</option> |
193 | | - <option value="2crazy">Py 2.crazy</option> |
194 | | - </select>, |
| 197 | +Options: |
195 | 198 | <select id="cumulativeModeSelector"> |
196 | 199 | <option value="false">hide exited function frames (default)</option> |
197 | 200 | <option value="true">show exited function frames</option> |
198 | 201 | <option value="holistic">holistic mode (experimental)</option> |
199 | | - </select>,<br/> |
| 202 | + </select> |
200 | 203 | <select id="heapPrimitivesSelector"> |
201 | 204 | <option value="false">inline primitives and nested objects (default)</option> |
202 | 205 | <option value="true">render all objects on the heap</option> |
203 | | - </select>, |
| 206 | + </select> |
204 | 207 | <select id="drawParentPointerSelector"> |
205 | 208 | <option value="false">hide environment parent pointers (default)</option> |
206 | 209 | <option value="true">show environment parent pointers</option> |
207 | | - </select>,<br/> |
| 210 | + </select> |
208 | 211 | <select id="textualMemoryLabelsSelector"> |
209 | 212 | <option value="false">draw references using arrows (default)</option> |
210 | 213 | <option value="true">use text labels for references</option> |
211 | | - </select>, and |
| 214 | + </select> |
212 | 215 | <select id="showOnlyOutputsSelector"> |
213 | 216 | <option value="false">show everything (default)</option> |
214 | 217 | <option value="true">show only outputs</option> |
215 | | - </select>. |
| 218 | + </select> |
216 | 219 | </p> |
217 | 220 |
|
218 | 221 |
|
|
341 | 344 | </div> |
342 | 345 |
|
343 | 346 | <p> |
344 | | -<a href="http://pythontutor.com/">Online Python Tutor</a> supports <a |
345 | | -href="http://www.python.org/doc/2.7/">Python 2.7</a> and <a |
346 | | -href="http://www.python.org/doc/3.3.0/">Python 3.3</a> with limited module |
| 347 | +<a href="http://pythontutor.com/">Online Python Tutor</a> supports |
| 348 | +Python <a href="http://www.python.org/doc/2.7/">2.7</a> and <a |
| 349 | +href="http://www.python.org/doc/3.3.0/">3.3</a> with limited module |
347 | 350 | imports and no file I/O. |
348 | 351 | The following modules may be imported: |
349 | 352 | bisect, |
|
0 commit comments