How can I check to see if a value is an int type? ie something like int = raw_input("Enter your int value.") if is_int(int): floater = int(int) or if len(sys.argv) > 1: if not is_int(sys.argv[1]): print "Syntax is blaat [port number]" else: port = int(sys.argv[1]) that type of thing... :) JD ______________________________________________________________ Get free Internet service and email at http://www.worldspy.com