word to digit module

Binu K S binux.lists at gmail.com
Wed Dec 22 00:17:33 EST 2004


Oops! That just does the opposite of what you want.
I guess you can tinker it a bit to do the reverse conversion unless
someone suggests a better module.

On Wed, 22 Dec 2004 10:41:46 +0530, Binu K S <binux.lists at gmail.com> wrote:
> You'll find a script here:
> http://www.python.org/pycon/dc2004/papers/42/ex1-C/
> Found it in the miscellany section at http://www.vex.net/parnassus/ (num2eng)
> 
> On Wed, 22 Dec 2004 10:27:16 +0530, Gurpreet Sachdeva
> <gurpreet.sachdeva at gmail.com> wrote:
> > Is there any module available that converts word like 'one', 'two',
> > 'three' to corresponding digits 1, 2, 3??
> >
> > Thanks and Regards,
> > GSS
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
>



More information about the Python-list mailing list