Object Reference question

Hendrik van Rooyen hendrik at microcorp.co.za
Wed Aug 26 02:44:50 EDT 2009


On Tuesday 25 August 2009 21:32:09 Aahz wrote:
> In article <mailman.164.1250837108.2854.python-list at python.org>,
>
> Hendrik van Rooyen  <hendrik at microcorp.co.za> wrote:
> >On Friday 21 August 2009 08:07:18 josef wrote:
> >> My main focus of this post is: "How do I find and use object reference
> >> memory locations?"
> >>
> >>>> a = [1,2,3,4]
> >>>> id(a)
> >
> >8347088
>
> Of course, that doesn't actually allow you to do anything...

Well - if the OP is the sort of person who likes juggling with running 
chainsaws, then he can look up a thread I started about a thing I called 
a "can", which enabled you to get the object back from a string 
representation of the ID.  I did not want to open that "can" of worms again, 
and I thought that answering half a question was better than nothing...

*weg*  - Hendrik




More information about the Python-list mailing list