thanks @Shoban but the code you linked was the same I used before and wasn't in python.
And thanks @graykevinb I understand the command module now!
I now know how to change the output for google maps Ect. but I just need to make it do what it does in the command module in python.
Is there a way to change that command module to make it in python?
That way I can both get the coordinates and get it on google maps at the same time!
Thanks so much again and sorry for all my questions