[Zope] problem with zfill

Adam Szpakowski worf@optics.polsl.gliwice.pl
Sun, 8 Jun 2003 08:29:31 +0200


On Sunday 08 of June 2003 00:28, David Hassalevris wrote:
> try
> import string
> return string.zfill(outa,6)

It's no use. Same error. Beside in my example "outa" was intended to be an 
output string adn "str1" an input one. So if zfill() is the method for string 
type (same as upper()) the form: "11".zfill(5) should give "00011". But it 
still gives an error.

Reagards,

-- 
Adam Szpakowski
Silesian University of Technology - Institute of Physics
Department of Optoelectronic
e-mail: worf@optics.polsl.gliwice.pl