[Tutor] Is there an easily or shorter way?

Danny Yoo dyoo at hashcollision.org
Mon Dec 15 22:45:23 CET 2014


> As a side note: if we were to talk about how we'd do this in a
> professional context, I think we'd recommend a library such as
> "humanize", which has functions to go from numbers to human-friendly
> string descriptions.
>
>     https://pypi.python.org/pypi/humanize


Whoops: wrong library.  Humanize is a good one, but not exactly the
one I was supposed to cite.  I should have cited num2words, which is a
cardinal number library:

    https://pypi.python.org/pypi/num2words


More information about the Tutor mailing list