> | look at the string.atoi() function. > > Don't. That has been deprecated since 2.0. Instead look at the int() > built-in. You're right, I'd forgotten about the jazzed up int() funcion until I saw all the other replies... oops. Alan g