Python 可以使用open命令来打开文件file = open(“test.txt”) # 打开文件temp = file.read() # 读取文件所有内容print(temp)这里省略了open的另外2个 ...
確定! 回上一頁