Here is a Python script:
from cmath import phase print phase(complex(-1.0, 1.0))
Here is the output:
2.35619449019