+ 3
How can i find the address that my program variable are saved at?
10 odpowiedzi
+ 3
id(variable)
+ 3
num = 2
print (hex (id (num)))
+ 2
Jason may be it helps you
https://code.sololearn.com/c7Wd1RGsngvM/?ref=app
+ 1
Sorry even I don't have any idea about that!
I thought you were talking about randomly printing the memory addresses of different variables
0
I want to write a program to print ram data randomly!
Can you help me !?
0
Yup but what kind of help you need?
0
I dont know how to read data from ram ?! I familiar with working with file in python by i cant read data from cpu or ram
0
Its ok can you explain more?!
0
I want to do exactly the opposite, that is, randomly read the data of running programs from the RAM.