txt_load.py 219 B

123456789
  1. class TextLoad:
  2. def __init__(self):
  3. pass
  4. async def extract_text(self, file_path):
  5. with open(file_path, "r", encoding="utf-8") as f:
  6. content = f.read()
  7. return content