Just a question out of interest in Python. How to get a function out of it storage slot? Here I have an example:
>>> def func():
pass
>>> func
<function func at 0x00000280B1883288>
So then 0x00000280B1883288
is the place where it is stored in the RAM memory, right?
But if I do this:
>>> eval('0x00000280B1883288')
2751757562504
>>> func
<function func at 0x00000280B1883288>
>>> 0x00000280B1883288
2751757562504
I only get an int back and if I try to call it I get the error that an int is not calleble. But is it possible to get a function out of its ram slot without calling func?
This is a question out of interest about how Python works, not that I don't know how to call a function, to make that clear.