[Python-Dev] str with base

Andrew Bennetts andrew-pythondev at puzzling.org
Tue Jan 17 06:12:53 CET 2006


On Mon, Jan 16, 2006 at 11:54:05PM -0500, Raymond Hettinger wrote:
[...]
> That suggests that it would be better to simply add an int method:
> 
>      x.convert_to_base(7)

This seems clear and simple to me.  I like it.  I strongly suspect the "bright
beginners" Alex is interested in would have no trouble using it or finding it.

-Andrew.



More information about the Python-Dev mailing list