These examples of Python programs are from our short course on Python which is here http://prancer.physics.louisville.edu/astrowiki/index.php/Python_for_Physics_and_Astronomy Some of these were written for Python 2.6 and 2.7 and have been converted with "2to3" with some additional hand editing. The examples of FITS image processing are taken from our Alsvid package of command line astronomical code http://www.astro.louisville.edu/software/alsvid/index.html More recent programs have been tested with Python 3.6 as of March 2018.