Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
This article describes how to check if a number is an integer in Python. Check if object is integer using methods isinstance(), type(), is_integer() and try except block.