📜  python读取整个文件 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:03.015000             🧑  作者: Mango

代码示例2
with open('Path/to/file', 'r') as content_file:
    content = content_file.read()