Online Python Tutor
在线演示 http://python.selboo.com.cn/
在线演示 http://pythontutor.com/visualize.html


点击在新窗口中浏览此图片
https://selboo.com/attachment/201303/1364215530_9605d649.gif


[codes=txt]root@selboo:~# git clone git://github.com/pgbovine/OnlinePythonTutor.git
Cloning into 'OnlinePythonTutor'...
remote: Counting objects: 4483, done.
remote: Compressing objects: 100% (1347/1347), done.
remote: Total 4483 (delta 3283), reused 4293 (delta 3100)
Receiving objects: 100% (4483/4483), 1.78 MiB | 172 KiB/s, done.
Resolving deltas: 100% (3283/3283), done.[/codes]

下载 Google App Engine SDK for Python
[codes=txt]https://developers.google.com/appengine/downloads
root@selboo:~# wget http://googleappengine.googlecode.com/files/google_appengine_1.7.6.zip
root@selboo:~# unzip google_appengine_1.7.6.zip
root@selboo:~# cd google_appengine/[/codes]
[codes=txt]root@selboo:~/google_appengine# python dev_appserver.py ../OnlinePythonTutor/v3/ --host 192.168.80.173 --admin_host 127.0.0.1
INFO     2013-03-25 09:12:01,689 sdk_update_checker.py:244] Checking for updates to the SDK.
INFO     2013-03-25 09:12:02,397 sdk_update_checker.py:272] The SDK is up to date.
INFO     2013-03-25 09:12:02,420 api_server.py:152] Starting API server at: http://localhost:49279
INFO     2013-03-25 09:12:02,438 dispatcher.py:98] Starting server "default" running at: http://192.168.80.173:8080
INFO     2013-03-25 09:12:02,439 admin_server.py:117] Starting admin server at: http://127.0.0.1:8000[/codes]
游客 | 登入