str.isdigit

isdigit()

Return true if all characters in the string are digits and there is at least one character, false otherwise.

For 8-bit strings, this method is locale-dependent.

 

A Django site. this page was rendered by a django application in 0.01s 2010-12-16 17:32:35.735370. hosted by webfaction.