Interesting problem comparing strings with integer values...

Walter Dörwald walter at livinglogic.de
Thu Jan 16 16:17:54 EST 2003


Chris Spencer wrote:

 > [...]
> 	Note that "".zfill(16) *is not implemented* in the basic string type
> methods, but is implemented in the string module.  Interesting, that.  So
> instead of importing the string module, I just rewrote zfill.

zfill will be a method in Python 2.3.

Bye,
    Walter Dörwald





More information about the Python-list mailing list