2011/10/15 惜悯 <wa...@qq.com>:
> retrun True if type(i) is int else False

That tests if the object is already an int; the OP asked if a string
contains an integer.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to