python3 readline,Python3:readlines 或者 enumerate 是否会导致文件流为空
python3 环境代码如下:file_path = os.getcwd() + "/test.txt"project_file = open(file_path,"r")#list_file = project_file.readlines()for index, line in enumerate(project_file):print("index=%d,linex=%s"%(index,l...