Here is a Python script:

from cmath import phase

print phase(complex(-1.0, 0.0))

Here is the output:

3.14159265359