Python memory adrress | SoloLearn: Learn to code for FREE!

+1

Python memory adrress

import time kevin = 10 print(hex(id(kevin))) time.sleep(10) #will print memory adress example: 0xcba the question: 1. how to print the the object of the address 0xcba from another python process?( i using linux) 2.is it possible to print the object of a an address from python but the variable is from c++? any answer will so appreciate

10/30/2017 10:56:23 AM

Kevin AS

12 Answers

New Answer

+4

I don't think any of both are possible ^^ (but I could be mistaken)

+4

In your researches think to search in already existing modules for Python: maybe what you are looking for already exist... the field covered by all available Python modules is incediblely wide ^^

+3

If that's possible with c++ that's potentially possible with python: at least by writing c++ code to access memory and bind the c++ library to use it in Python (I know that's possible, but I don't know how ;))

+3

@Jamie hooking is illegal where I live. not to mention gross.

0

i want try write to write my own cheat engine from python :v

0

i hope i can find the answer someday :v

0

thanx anyway for you two, i will do some research too

0

got it