Get the instance name from a list by Reflection

Carsten Haese carsten at uniqsys.com
Sat Oct 20 16:22:30 EDT 2007


On Sat, 2007-10-20 at 21:10 +0200, sccs cscs wrote:
> Hello,
> I cannot find into documentation how to get the instance name.

That's because this is, in general, impossible. An object can have any
number of names, even zero names, and an object doesn't know which names
it has.

Why do you think you need to find out an object's name?

-- 
Carsten Haese
http://informixdb.sourceforge.net





More information about the Python-list mailing list