热门
1. `open()` 函数:用于打开一个文件,并返回一个文件对象。
例子:
file=open("example.txt", "r") content=file.read() print(content) file.close()