Eli Zabielski wrote:
> How can I check if a variable is an integer?

Luke and John have answered your question, but we should also ask, why 
do you want to do that? Explicit type testing is a code smell, perhaps 
there is a better way to do what you want.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to