> can you explain functions in python to me and give me some examples There are many tutorials that do that, including mine. Take a look at the Modules and functions topic... Or if you are experienced in other programming languages try the official tutorial at python.org. Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld