#python 读取文件
def main() :
with open(‘test1.txt’,‘r’ ,encoding= ‘utf-8’)as f:
print(f.read())
if name == ‘main’:
main()
python 之读取文件
猜你喜欢
转载自blog.csdn.net/HAHH404/article/details/106524855
今日推荐
周排行