On Fri, 13 Apr 2001, Paul F. Dubois wrote: > My understanding is that Python can be built without complex numbers to > satisfy the needs of the Python-on-a-wristwatch crowd. Is there a run-time > way to tell? For example, using an imaginary literal causes an error? If so, > what kind? This is just a guess, but check hasattr(__builtins__, 'complex') perhaps? That's what i would do. -- ?!ng