def GetSDKPath(sdk):
    DEVNULL = open(os.devnull, 'wb')
    try:
      proc = subprocess.Popen(
          ['xcodebuild', '-version', '-sdk', 'macosx' + sdk, 'Path'],
          stdout=subprocess.PIPE, stderr=DEVNULL)
      return proc.communicate()[0].rstrip('\n')
    finally:
      DEVNULL.close()
Return all sentences in the corpus or in the specified files.
dataset/ETHPy150Open pyokagan/gyp/test/mac/gyptest-sdkroot.py/GetSDKPath--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/corpus/reader/reviews.py/ReviewsCorpusReader.sents