|
1 | | -Online Python Tutor -- http://pythontutor.com/ -- helps people overcome |
2 | | -a fundamental barrier to learning programming: understanding what |
3 | | -happens as the computer executes each line of a program's source code. |
4 | | -Using this tool, you can write Python, Java, JavaScript, TypeScript, |
5 | | -Ruby, C, and C++ programs in your Web browser and visualize what the |
6 | | -computer is doing step-by-step as it executes those programs. |
| 1 | +Python Tutor -- http://pythontutor.com/ -- helps people overcome a fundamental barrier to learning programming: understanding what happens as the computer executes each line of a program's source code. |
| 2 | + |
| 3 | +Using this tool, you can write Python, Java, JavaScript, TypeScript, Ruby, C, and C++ programs in your Web browser and visualize what the computer is doing step-by-step as it executes those programs. So far, over 1.5 million people in over 180 countries have used Python Tutor to visualize over 15 million pieces of code, often as a supplement to textbooks, lecture notes, and online programming tutorials. |
| 4 | + |
| 5 | +This tool was created by Philip Guo in January 2010. [See project history](history.txt). |
7 | 6 |
|
8 | 7 | All documentation is viewable online at: |
9 | 8 | https://github.com/pgbovine/OnlinePythonTutor/tree/master/v3/docs |
10 | 9 |
|
11 | | -https://github.com/pgbovine/OnlinePythonTutor/ |
12 | | -The v3/ sub-directory contains the latest version of the frontend code. |
| 10 | + |
| 11 | +### Quick Start |
| 12 | + |
| 13 | +By far the most preferred way to use Python Tutor is via the official website: http://pythontutor.com/ |
| 14 | + |
| 15 | +You can use [iframe embedding](v3/docs/embedding-HOWTO.md) to quickly embed visualizations on your webpage. |
| 16 | + |
| 17 | +It can be hard to run your own version locally for non-Python languages, since there are complex Docker-related setups in v4-cokapi/ that I haven't yet cleanly packaged up. |
| 18 | + |
| 19 | +To run Python visualizations on localhost: |
| 20 | + |
| 21 | +``` |
| 22 | +pip install bottle # make sure the bottle webserver (http://bottlepy.org/) is installed |
| 23 | +cd OnlinePythonTutor/v3/ |
| 24 | +python bottle_server.py |
| 25 | +``` |
| 26 | + |
| 27 | +You should see the visualizer at: http://localhost:8003/visualize.html |
| 28 | + |
| 29 | +... and the live programming environment at: http://localhost:8003/live.html |
| 30 | + |
| 31 | +For further directions, see [Overview for Developers](v3/docs/developer-overview.md) or explore the [rest of the docs](v3/docs/). |
| 32 | + |
13 | 33 |
|
14 | 34 | ### Acknowledgments |
15 | 35 |
|
16 | | -For code or security contributions: |
| 36 | +For code or security contributions |
17 | 37 |
|
18 | | -John DeNero - for helping with the official Python 3 port and LOTS of code patches |
19 | | -Chris Horne - https://github.com/lahwran - for security tips |
20 | | -Joshua Landau - joshua@landau.ws - for security tips |
21 | | -David Wyde - https://davidwyde.com/ - for security tips |
22 | | -Peter Wentworth and his students - for working on the original Python 3 fork circa 2011 |
23 | | -Brad Miller - for adding pop-up question dialogs to visualizations, and other bug fixes |
24 | | -David Pritchard and Will Gwozdz - for the Java frontend and other frontend enhancements |
25 | | -Peter Robinson - for v3/make_visualizations.py |
26 | | -Chris Meyers - for custom visualizations such as v3/matrix.py and v3/htmlFrame.py |
27 | | -Irene Chen - for holistic visualization mode -- v3/js/holistic.js |
| 38 | +- John DeNero - for helping with the official Python 3 port and LOTS of code patches |
| 39 | +- Chris Horne - https://github.com/lahwran - for security tips |
| 40 | +- Joshua Landau - joshua@landau.ws - for security tips |
| 41 | +- David Wyde - https://davidwyde.com/ - for security tips |
| 42 | +- Peter Wentworth and his students - for working on the original Python 3 fork circa 2011 |
| 43 | +- Brad Miller - for adding pop-up question dialogs to visualizations, and other bug fixes |
| 44 | +- David Pritchard and Will Gwozdz - for the Java frontend and other frontend enhancements |
| 45 | +- Peter Robinson - for v3/make_visualizations.py |
| 46 | +- Chris Meyers - for custom visualizations such as v3/matrix.py and v3/htmlFrame.py |
| 47 | +- Irene Chen - for holistic visualization mode -- v3/js/holistic.js |
28 | 48 |
|
29 | 49 |
|
30 | 50 | For general advice and feedback about this project: |
31 | 51 |
|
32 | | -Ned Batchelder |
33 | | -Jennifer Campbell |
34 | | -John Dalbey |
35 | | -John DeNero |
36 | | -Fredo Durand |
37 | | -Michael Ernst |
38 | | -David Evans |
39 | | -Paul Gries |
40 | | -Mark Guzdial |
41 | | -Adam Hartz |
42 | | -Sean Lip |
43 | | -Tomas Lozano-Perez |
44 | | -Bertram Ludaescher |
45 | | -Brad Miller |
46 | | -Rob Miller |
47 | | -Peter Norvig |
48 | | -Andrew Petersen |
49 | | -David Pritchard |
50 | | -Suzanne Rivoire |
51 | | -Guido van Rossum |
52 | | -Peter Wentworth |
53 | | -David Wilkins |
| 52 | +- Ned Batchelder |
| 53 | +- Jennifer Campbell |
| 54 | +- John Dalbey |
| 55 | +- John DeNero |
| 56 | +- Fredo Durand |
| 57 | +- Michael Ernst |
| 58 | +- David Evans |
| 59 | +- Paul Gries |
| 60 | +- Mark Guzdial |
| 61 | +- Adam Hartz |
| 62 | +- Sean Lip |
| 63 | +- Tomas Lozano-Perez |
| 64 | +- Bertram Ludaescher |
| 65 | +- Brad Miller |
| 66 | +- Rob Miller |
| 67 | +- Peter Norvig |
| 68 | +- Andrew Petersen |
| 69 | +- David Pritchard |
| 70 | +- Suzanne Rivoire |
| 71 | +- Guido van Rossum |
| 72 | +- Peter Wentworth |
| 73 | +- David Wilkins |
54 | 74 |
|
55 | 75 | ... and many, many more! |
0 commit comments