[Tutor] how to set a value to a block of memory

Kent Johnson kent37 at tds.net
Wed Mar 22 04:17:34 CET 2006


Keo Sophon wrote:
> Hi all,
> 
> How can i set a value to a bytes of block of memory. In C, i think they use 
> memset like this.

Python does not support direct access to memory, you will need to use 
another language or maybe a C extension to Python to do this.

Kent



More information about the Tutor mailing list