+ 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

30th Oct 2017, 10:56 AM
Kevin AS
Kevin AS - avatar
8 Answers
+ 4
I don't think any of both are possible ^^ (but I could be mistaken)
30th Oct 2017, 11:26 AM
visph
visph - avatar
+ 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 ^^
30th Oct 2017, 12:01 PM
visph
visph - avatar
+ 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 ;))
30th Oct 2017, 11:54 AM
visph
visph - avatar
+ 3
@Jamie hooking is illegal where I live. not to mention gross.
30th Oct 2017, 12:38 PM
Phoenix
Phoenix - avatar
0
i want try write to write my own cheat engine from python :v
30th Oct 2017, 11:31 AM
Kevin AS
Kevin AS - avatar
0
i hope i can find the answer someday :v
30th Oct 2017, 11:44 AM
Kevin AS
Kevin AS - avatar
0
thanx anyway for you two, i will do some research too
30th Oct 2017, 11:58 AM
Kevin AS
Kevin AS - avatar
0
got it
30th Oct 2017, 12:13 PM
Kevin AS
Kevin AS - avatar