Assembly Interpreter/Embedding C
Guido van Rossum
guido at cnri.reston.va.us
Tue Oct 19 16:48:55 EDT 1999
Jeff Shipman - UC <jeff at nmt.edu> writes:
> I am building an interactive Intel Assembly interpreter using Python. I
> am now needing to add the part where my binary code is taken, loaded
> into memory and executed. I've heard the only way of doing this is to
> use C.
I question what you've been told. Python has perfectly fine built-in
tools for reading binary data from a file, e.g. the struct module and
the "rb" open mode. Where is the need for using an extension?
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-list
mailing list