SPGal for Linux is a simple static XHTML gallery written in python. It can function as a drop-in replacement of the iGal and jGal static HTML galleries written in Perl. It generates simple, pretty and valid XHTML pages from a directory containing various images. It takes care of creating thumbnails and creates one page per file in addition to an index file. The values of --title, --subtitle and --imgperline are saved in the spgal.conf file in the gallery directories, so that when you run SPGal.py the next time you won't have to enter them again. In order to change the saved values simply re-run SPGal.py with the new value.