Cannot run this python script from the command line $SPUNK_HOME/bin/scripts, can someone tell me why?
Here is the error:
$ python distance_two_IPs.py 20, 21, 45, 25 File "distance_two_IPs.py", line 14 yDistance = (lat2 - lat1) * nauticalMilePerLat ^ IndentationError: expected an indented block
I tried to cut and past the script here, but it displayed without line-brakes. So I here is the link: