translating Python to Assembler
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Sun Jan 27 11:37:50 CET 2008
over at thepond.com wrote:
> hehe...which part am I kidding about? The explanation was for
> someone who thought python scripts were translated directly by the
Who might this have been? Surely not Tim.
> I have already disassembled a pyc file as a binary file.
Have you? How's it look?
> Maybe I was using the term assembler too broadly. A binary
> compiled from an assembler source would look similar in parts to
> what I disassembled.
What is this supposed to mean?
> That's not the point, however. I'm trying to say that a processor
> cannot read a Python script, and since the Python interpreter as
> stored on disk is essentially an assembler file,
It isn't; it's an executable.
> any Python script must be sooner or later be converted to
> assembler form in order to be read by its own interpreter.
This "assembler form" is commonly referred to as "Python byte code".
> Whatever is typed in a Python script must be converted to binary
That, however, is true, though blurred.
BOFH excuse #120:
we just switched to FDDI.
More information about the Python-list