real and imaginary part from python complex numbers
Quote:
> >Please help me, how do I get real and imaginary part from python
> >complex numbers?
> >>> a = 1j
> >>> a.real
> 0.0
> >>> a.imag
> 1.0
> Cheers /F
Yes, thank's alot, but where have I overseen the documentation
om this? It (definitly) has not found its way into my version
of the python1.4 online library documentation.
Cheers
Berhold
--
)
(
C[_] These opinions might be mine, but never those of my employer.