ctypes And The WACAH Principle

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Thu Aug 11 02:46:53 EDT 2016


On Thursday, August 11, 2016 at 3:23:58 PM UTC+12, eryk sun wrote:
>
> ...you can cast() bytes to c_void_p to get the address.
>
> ...
> 
> For bytearray, use the buffer interface to create a ctypes array. The
> array is not a copy.

Cool! Those pointers* are much appreciated.

*So to speak. :)



More information about the Python-list mailing list