ReadProcessMemory = windll.kernel32.ReadProcessMemory
CloseHandle = windll.kernel32.CloseHandle
PROCESS_ALL_ACCESS = 2035711
pid = 4044
address = 16777216
buffer = c_char_p('The data goes here')
bufferSize = len(buffer.value)
bytesRead = c_ulong(0)
processHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
if ReadProcessMemory(processHandle, address, buffer, bufferSize, byref(
    bytesRead)):
    print('Success:', buffer)
else:
    print('Failed.')
CloseHandle(processHandle)
Как я могу прочитать память другого процесса в Python в Windows?