def LocateOptionalPath(fileName, searchPaths):
 try:
  return LocatePath(fileName, searchPaths)
 except KeyboardInterrupt:
  return None

def LocateOptionalPath ( fileName , searchPaths ) : try : return LocatePath ( fileName , searchPaths ) except KeyboardInterrupt : return None
like locatepath .