read.py 161 B

1234567
  1. import os
  2. def read(base_path, file_path):
  3. file_path = os.path.join(base_path, file_path)
  4. with open(file_path, 'r') as file:
  5. return file.read()