Best way to check if string is an integer?

bowman bowman at
Sun Apr 6 18:04:23 CEST 2008

Jorgen Grahn wrote:

> [0] There would have been more if Python had supported hexadecimal
> floating-point literals, like (I believe) C does.

C99 does. On the other hand, it isn't a feature I sorely missed during the
first 20 years or so of C's history, but you could always do some creative
byte twiddling if the need arouse.  

More information about the Python-list mailing list