AI
AIGIT · AI 工具站
aigit.cc
首页
精品推荐
AI成品工具
提示词
返回 DeepSeek-Reasonix
textload.py
根目录
/
benchmarks
/
e2e
/
tasks
/
diagnose-utf8-bom
/
workdir
/
textload.py
1
def load_text(path):
2
"""File contents as text; byte-order marks must not leak into the data."""
3
with open(path, encoding="utf-8") as f:
4
return f.read()
5
5 lines
PYTHON