Проверка шаблона шины для iOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 月之前
123456789101112
  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)