How can I convert a decimal to another base? i.e. Hex or binary? -- Bye, Gerhard If you are programming dynamic HTML in python you might find 'template.py' usefull. Look at my homepage: http://members.aon.at/sparhawk