Sarcastic Zombie wrote: > is there any way to overload the 'if' unary usage to detect if a > variable has a value? Define a __nonzero__() or __len__() method. Peter