def tryInt(s, s_default=0):
 try:
  return int(s)
 except Exception:
  return s_default

def tryInt ( s , s_default = 0 ) : try : return int ( s ) except Exception : return s_default
try to convert to int .