> 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
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to