Next / Previous / Contents / Shipman's homepage

8.2. LatLon.__str__(): Convert to a string

Applying the standard Python str() function to a LatLon instance will return a string displaying the latitute and longitude in the usual human units, e.g., "03d 14m 32s N Lat 118d 32m 04s W Lon".