word to digit module
Fredrik Lundh
fredrik at pythonware.com
Wed Dec 22 03:01:45 EST 2004
More information about the Python-list mailing list
Wed Dec 22 03:01:45 EST 2004
- Previous message (by thread): word to digit module
- Next message (by thread): word to digit module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stephen Thorne wrote: >> Is there any module available that converts word like 'one', 'two', >> 'three' to corresponding digits 1, 2, 3?? > > This seemed like an interesting problem! So I decided to solve it. > for i in range(40000): that's a slightly unusual definition of "digit", but it's a nice script, and an excellent illustration of pragmatic test-driven development, so who am I to complain? </F>
- Previous message (by thread): word to digit module
- Next message (by thread): word to digit module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list