On 23 September 2012 05:46, Fit Wii <wii_...@ymail.com> wrote:

> Is there any IDE or Python interpreter that can show the assembly language
> generated by each line of python code?  Is there any popular boot loader
> written in Python (plus some assembly code)?
>

Python doesn't generate assembly language code. It does, however, compile
python code to bytecode which is like assembly for the Python interpreter
rather than for the CPU. Have a look at the dis module:
http://docs.python.org/library/dis.html

Oscar
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to