Проверка шаблона шины для iOS
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
265B

  1. import os
  2. def readModuleSrc(dir, readFile):
  3. fileNames = os.listdir(dir)
  4. contents = []
  5. for fileName in sorted(fileNames):
  6. path = dir + "/" + fileName
  7. lines = readFile(path)
  8. contents.extend(lines)
  9. return "\n".join(contents)