newbee: adress of object

Alexander Eisenhuth stacom at stacom-software.de
Mon Aug 5 12:01:07 CEST 2002


hallo together,

for tracing i need to access the objects adress. I thougt about:

class X:

...

    log (self):
      print 'myaddr:%s ...' % (self,...)

...


but does that work ?


Regards
Alexander




More information about the Python-list mailing list