下面读取到文件的每一个内容, 然后加上路径
import os path = r'../Downloads/text/content' for filename in os.listdir(path): print(os.path.join(path,filename))