Close Enough?

To me this is a thing of beauty and a joy forever, but I have long since given up trying to explain to other people why or how I perceive beauty in mathematics. Anyway I thought I would see how close my trusty laptop could get to emulating this mystic identity (it's amazing what I get up to when procrastinating), and naturally chose Python (though I believe the results would be just as disappointing in any other language). Here's what I got:
>>> math.e**(math.pi*-1j)
(-1-1.2246467991473532e-16j)
Definitely not quite the same mystical properties there, even though numerically quite close. No wonder I never liked applied mathematics!
