Here is a Python script:

1 from cmath import phase
2 
3 print phase(complex(-1.0, 0.0))

Here is the output:

3.14159265359