Here is a Python script:

from cmath import phase

print phase(complex(-1.0, 0.0))