fmoo/glitch-python — comment on commit 754dfb89ebc49f4a861b027cc73ff43583f2dba5
File:  line 0
By grampajoe:

If you don't mind adding a dependency, I've found that inflect works really well for this: http://pypi.python.org/pypi/inflect