> >>> class Complex: > def _init_(self, realpart, imagpart): Thats 2 underscores on each side: __init__() not _init_() Alan g. Author of the 'Learning to Program' web site http://www.freenetpages.co.uk/hp/alan.gauld