In [1]: f open("/etc/passwd","r") #使用open函数打开文件In [2]: f
Out[2]: <_io.TextIOWrapper name/etc/passwd moder encodingUTF-8>In [3]: type(f)
Out[3]: _io.TextIOWrapperIn [5]: import os #打开文件前可以判断文件在不在In [6]: if …
Prompt: Historical footage of California during the gold rush. 加利福尼亚淘金热期间的历史影像。 Prompt: A close up view of a glass sphere that has a zen garden within it. There is a small dwarf in the sphere who is raking the zen garden and creating patter…