"Iyer, Prasad C" wrote: > Thanks a lot for the reply. > But I want to do something like this > > class BaseClass: > def __init__(self): > # Some code over here > def __init__(self, a, b): > # Some code over here > def __init__(self, a, b, c): > # some code here
did you read the FAQ I pointed you to? it shows how to deal with exactly that case. </F> -- http://mail.python.org/mailman/listinfo/python-list