On Thu, 2010-03-11 at 20:38 +0200, Ludolph wrote:
> 
> I decided I can use byteplay3 http://pypi.python.org/pypi/byteplay/ to
> disassemble the code to workable objects, It even allows me to rebuild
> the objects to bytecode. So if I define patterns on how python
> interrupts the source code to bytecode I can visually represent this
> and also so convert my visual representations back to bytecode.

Assuming you're on 2.6 or later, I'd suggest working with the ast module
instead:
http://docs.python.org/library/ast.html



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to