python:实现txt文件转xls文件 import xlwt with open('student.txt', 'r', encoding='utf-8') as f: data = f.read()