Skip to content

Commit 8ae34b4

Browse files
author
Philip Guo
committed
improved documenation
1 parent 45a9538 commit 8ae34b4

2 files changed

Lines changed: 19 additions & 8 deletions

File tree

‎v3/index.html‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,15 @@ <h1><span id="learnHeading">LEARN</span> <span class="smallH1">programming by vi
109109
programming courses.</p>
110110

111111

112-
<p>For an overview, watch this 1-minute video:
112+
<p>You can also visualize execution in the <a
113+
href="http://ipython.org/">IPython</a> shell in <a
114+
href="https://github.com/pgbovine/OnlinePythonTutor/blob/master/v3/opt-ipy.py">interactive
115+
mode</a>.
116+
117+
Watch this one-minute overview:
118+
</p>
119+
120+
<p>
113121

114122
<iframe width="720" height="440" src="http://www.youtube.com/embed/zq3cbbDRdLI?feature=player_detailpage;&vq=large" frameborder="0" allowfullscreen></iframe>
115123

‎v3/opt-ipy.py‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# This extension also defines a '%clear' magic command to clear the
99
# user's global environment and accompanying visualization.
1010

11+
# One-minute video demo:
12+
# http://www.youtube.com/watch?v=Q3oarDuZPL0
1113

1214
# Prerequisites:
1315
# - IPython shell (http://ipython.org/, tested on 0.13.1 and 1.0.dev)
@@ -17,20 +19,21 @@
1719
# free Enthought Python Distribution:
1820
# https://www.enthought.com/products/epd/free/
1921

20-
2122
# Instructions:
2223
#
23-
# 1. Start the IPython shell in this directory by running:
24+
# 1. Start a local web server
2425
#
25-
# ipython
26+
# python opt-ipy-server.py
2627
#
27-
# 2. Load this extension by running:
28+
# 2. Load this URL in your browser: http://localhost:8888/
2829
#
29-
# %load_ext opt-ipy
30+
# 3. Start the IPython shell in this directory by running:
3031
#
31-
# 3. Start a local web server: python opt-ipy-server.py
32+
# ipython
33+
#
34+
# 4. Load this extension by running:
3235
#
33-
# 4. Load this URL in your browser: http://localhost:8888/
36+
# %load_ext opt-ipy
3437
#
3538
# At this point, as soon as you execute a Python statement in the
3639
# IPython shell, it should immediately be visualized in your browser.

0 commit comments

Comments
 (0)