[Zope] problem with zfill

Jamie Heilman jamie@audible.transient.net
Sun, 8 Jun 2003 01:32:57 -0700


Adam Szpakowski wrote:
> "11".zfill(5) should give "00011". But it still gives an error.

The zfill method wasn't added to str types until python 2.2.2b1.
http://python.org/2.2.2/NEWS.txt

-- 
Jamie Heilman                   http://audible.transient.net/~jamie/
"Most people wouldn't know music if it came up and bit them on the ass."
                                                        -Frank Zappa