1

On reddit, I've seen a link to web site, which does not only interpret Python code, but also gives a graphical explanation of how the code is interpreted. I found this potentially very helpful for learning and teaching. Sadly, I don't remember the link.

Given code such as

A = []
B = A
B.append(1)
print A
print B

this website would show, how each line changes the state of the Python program. A user could see that A and B represent the same object and intuitively understand that the third line effects print A and print B

2
  • 1
    repl.it (via reddit.com/r/programming/comments/klv3o/…)? Commented Nov 20, 2011 at 22:40
  • @MattBall: I doubt it - the app you linked to (repl.it) does not explain anything from Python code, it is only a web based Python interpreter (not mentioning other languages it can support). Commented Nov 20, 2011 at 22:59

1 Answer 1

4

The Online Python Tutor is probably what you want.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.