Http://blog.csdn.net/balabalamerobert
http://blog.csdn.net/efeics/article/category/1486515 Graphical Python
Python source anatomy and the Cobra Open source project2008-07-28 15:52 from
hailie Robert:
To make the book more interesting to read, and to help readers make better use of the book, I'm in Google
Code launched an open source project for visualizing Python virtual machines--cobra (http://code.google.com/p/python-cobra/
), the purpose of the Python virtual machine in the execution of the Code of the runtime environment, and the virtual machine state changes, in a visual form, in a more vivid way to deepen the reader's understanding of the Python virtual machine.
At the same time, it is hoped that this project will become a platform for interested readers to exercise their ability to transform their Python virtual machines. At present, the project is still in the early stages of development, only to achieve the general expression of visualization, I hope that interested friends can join in this interesting project. The attached picture is the current visual effect of Cobra on simple general expressions.
In addition, you can view some of the information before this project through my blog (http://blog.csdn.net/balabalamerobert).
Friends who want to run can use SVN checkout
*http*://python-cobra.googlecode.com/svn/trunk/python-cobra-read-only Checking out code
It consists of two parts:
1, Cobraserver: This is a modified Python virtual machine
2, Cobraweb: This is the Django and Ajax-based foreground visual interface
After compiling the cobraserver, you get a cobra-vm-server.exe, which is the server side, starts, and then executes in Cobraweb manage.py
Runserver, you can communicate with the virtual machine side through the Web interface and visualize the Python virtual machine.
It is important to note that currently cobraserver only the Windows platform's network code, so currently only run on the Windows platform. At the same time, the Web front-end browser is best to adopt ff2,ie is not a problem, but the aesthetics may not be enough, FF3 changed
The value of input of the file is uploaded, so the current FF3 does not work properly.
--
Robert
Follow Python focus Search
Dynamic Life--http://blog.csdn.net/balabalamerobert
cobra--Visualization of Python virtual machines