Does anyone know how to directly handle memory using python? I want to be able, for example, to copy the actual contents of a memory address, or set the actual contents of a memory address. Here is an example of what I would like to be able to do:
num=12 addr=id(num) contents=<getMemory function>(hex(addr)).read(2) contents
"0b"
<getMemory function>(hex(addr),"w").write("0e") num
15 In that example, I was assuming that the function would return a file like object: it doesn't have to. Any type of function would be fine.
-- http://mail.python.org/mailman/listinfo/python-list