Pikir dan Rasa

cogito ergo sum

Online Python Tutor: Learn and practice Python programming in your web browser

leave a comment »

Learn Python by writing code and visualizing execution

This free educational application allows teachers and students to write Python scripts directly in the web browser, execute those scripts, single-step forwards and backwards through execution, and view the run-time state of all data structures.

Rather than displaying a bland text-based console, the Online Python Tutor provides a rich visualization of variables, heap objects, and stack frames. For example, the following code:

x = ["Alice", "Bob", "Charlie"] y = x z = ["Alice", "Bob", "Charlie"]

will be visualized as the following HTML diagram, which properly shows aliasing relationships:

Go play with the Online Python Tutor!


Footer: Autoposted dengan [ email ] dari [ sunu’s posterous ]

Written by sunupradana

January 6, 2012 at 4:59 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: