Skip to content
Cristian Gonzalez edited this page Oct 14, 2020 · 1 revision

Python tutor

Python Tutor helps people overcome a fundamental barrier to learning programming: understanding what happens as the computer executes each line of a program's source code. 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. Python tutor originally was created by Philip Guo in January 2010, we have forked their repository to add some additional features, see the Python tutor repository.

In this repository we have made some small modification to the original code to provide this tool as a Docker service to be embedded in the user interface on UNCode and allow users to visualize their code in Python3, C/C++ and Java. The container is deployed on Docker Hub: unjudge/onlinepythontutor.

This tool is only available for code multiple language submissions, when a student sets their code there, a modal window can be displayed and there the student starts the visualization of their code. Every time a student opens this modal window, a request is sent to the docker service with some parameters, and a user interface is returned and embedded. See the repository to understand more about this.

Contributing

Check the repository guidelines on how to start contributing in this repository.

Clone this wiki locally