path01=“d://folder1//folder2//text01.txt”oprtype01='r'#oprtype01标识打开类型:'r'为只读nline01=10#读取行数file01=open(path01,oprtype01)lines01=file01.readline(nline01)
nline01 = 10 只是将utf-8的编码前10个字符标识出来进行读取,无法读取固定哪一行