On Oct 16, 12:25 pm, Astley Le Jasper <[EMAIL PROTECTED]> wrote: > Thanks for all the responses. That helps. > > Ta > > ALJ
If you're sure it's unique, why not just scan through the pairs in
locals()?
for k, v in locals():
if v is the_object_im_looking_for:
name_im_looking_for= k
This method can sometimes return more than one name, due to the
variable ordering of objects in dictionaries.
--
http://mail.python.org/mailman/listinfo/python-list
