"Jeff Epler" <jepler at unpythonic.net> wrote in message news:mailman.6434.1100624680.5135.python-list at python.org... So is there any easy way for the pad function to figure out for itself that the target length is 3, without my having to tell it so? -- Paul