Посмотреть адрес объекта в Python
# get the memory address of an object in Python as a hex representation
hex_address = hex(id(object_name))
Lidia J. Opuchlik
# get the memory address of an object in Python as a hex representation
hex_address = hex(id(object_name))