Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Fri, 27 Apr 2007 16:07:57 -0700, castironpi wrote: > > > That's what we need: a CopyMemory() routine. > > What we _really_ need are Poke() and Peek() routines.
You can easily write them with ctypes (it's part of the standard library now, too) -- at least on systems where you can easily access the C runtime library as a dynamic library, such as Windows, Linux, and MacOSX, but I imagine it wouldn't be that much harder on others (I haven't really looked in depth at the lowest-level functionality offered by ctype, as the higher-level stuff is plenty sufficient to get a lot of core dumps:-). Alex -- http://mail.python.org/mailman/listinfo/python-list