Python Code For Location Tracking