netsymPy/pythonScripts/numericChecks.py
def is_port(inString):
    """Validates if the port is valid."""
    if is_int(inString):
       intiger = int(inString)
       return intiger >= 0 and intiger < 65536
                        #the 0 is acepted, beacuse later it will be modifyed
    else:
      return False
Validates if the port is valid.
Validates if the port is valid.
Validates if the port is valid .
def is_port(inString):
    if is_int(inString):
       intiger = int(inString)
       return intiger >= 0 and intiger < 65536
    else:
      return False
def is_port ( inString ) : if is_int ( inString ) : intiger = int ( inString ) return intiger >= 0 and intiger < 65536 else : return False
Validates if the port is valid.
Validates if the port is valid .
"""Validates if the port is valid.""" #the 0 is acepted, beacuse later it will be modifyed

inString