Installing Online Python Tutor on your laptop – localhost:8080

by Security Dude

Philip Guo ( is the author of Online Python Tutorial ( He visited Hacker School today and he spoke to a bunch of HackerSchoolers this morning.

I spent some time reviewing his documentation on github.

After the talk, Philip sat down with me and walked me through on how to setup Online Python Tutor (OPT) on my Ubuntu laptop. Here are the screenshots and steps I took to get the project running on localhost:8080.

Step 1 – Download and Install Google App Engine Python SDK

I used my Chrome browser and went to downloads. Selected Unpacked the zip and dragged the files to my home directory.

Step 2 – Download and Install Online Python Tutor from github

antigen@ubuntu:~$ git clone
Cloning into OnlinePythonTutor...
remote: Counting objects: 3935, done.
remote: Compressing objects: 100% (1039/1039), done.
remote: Total 3935 (delta 2890), reused 3899 (delta 2861)
Receiving objects: 100% (3935/3935), 1.46 MiB | 700 KiB/s, done.
Resolving deltas: 100% (2890/2890), done.

Step 2 – Start Google App Engine web service

Step 3 – using your browser  http://localhost:8080

Step 4 – Testing Back End with

Step 5 – file://OnlinePythonTutor/v3/embedding-demo.html

Step 6 – Python Brain Teaser – Visualized with localhost:8080 OPT