一.打开文件
#使用 with 语句操作文件对象 with open(r'somefileName') as somefile: for line in somefile: print line # ...more code
Copyright © 2024 Vincent90 Powered by .NET 8.0 on Kubernetes