In [2]:
class Point(object):
    pass

blank = Point()

print blank


<__main__.Point object at 0x7f3ef3ae9810>

In [16]:
address = 0x7f3ef3ae9810

dec = int(address)

print(dec)


139908353005584

In [17]:
print "%X" %dec


7F3EF3AE9810

In [8]:
help(ord)


Help on built-in function ord in module __builtin__:

ord(...)
    ord(c) -> integer
    
    Return the integer ordinal of a one-character string.


In [10]:
print(ord("f"))


102