The print statement was only for illustrative purposes, when calling
varx=myobj I need to receive obj.x as opposed to the instance of obj,
but I also need to call vary=myobj.y. Something like that exists for
com objects/VB, for instance an excel range object uses value as the
default attribute, so that you can write

set rng=range(...); 
x=rng
y=rng.value
'x==y
z=rng.attributeXYZ

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to