Konrad: > for food in dir(): > if food[:2] != '_': > eat(food) Moshe: >You meant, if food[:1] != '_', otherwise you'd eat people's private >foods too... Though food.startswith("__") would be the better solution since making the mistake of a single _ would not have been as caloric. Andrew dalke at acm.org