Pythonic way to determine if a string is a number
Floris Bruynooghe
floris.bruynooghe at gmail.com
Tue Feb 17 10:29:49 EST 2009
More information about the Python-list mailing list
Tue Feb 17 10:29:49 EST 2009
- Previous message (by thread): Pythonic way to determine if a string is a number
- Next message (by thread): Pythonic way to determine if a string is a number
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Feb 16, 7:09 am, Python Nutter <pythonnut... at gmail.com> wrote: > silly me, forgot to mention > > build a set from digits + '.' and use that for testing. `.' is locale dependent. Some locales might use `,' instead and maybe there's even more out there that I don't know of. So developing this yourself from scratch seems dangerous, let it bubble down to libc which should handle it correctly. Regards Floris
- Previous message (by thread): Pythonic way to determine if a string is a number
- Next message (by thread): Pythonic way to determine if a string is a number
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list