Next / Previous / Contents / Shipman's homepage

12.3. AltAz.__str__(): Convert to a string

Applying the Python str() function to an AltAz instance returns a string of this form:

[az NNNd NN' NN.NNN" alt NNd NN' NN.NNN"]

where X is the altitude and Y is the azimuth, both shown in degrees.