def convert_sv_char(c):
 if (65 <= (ord(c) - 64) <= 90):
  return chr((ord(c) - 64))
 else:
  try:
   return chr((ord(c) - 128))
  except ValueError:
   return c

def convert_sv_char ( c ) : if ( 65 <= ( ord ( c ) - 64 ) <= 90 ) : return chr ( ( ord ( c ) - 64 ) ) else : try : return chr ( ( ord ( c ) - 128 ) ) except ValueError : return c
logic for shifting senate vote characters to real ascii .