05 2021 档案

摘要:实验任务5:自定义模块及模块导入编程 一:把类StudentDoc保存到模块student.py中 '''student.py''' class StudentDoc: '''学生档案管理''' def __init__(self,students_number,studens_name,major 阅读全文
posted @ 2021-05-29 23:41 Vat- 阅读(79) 评论(1) 推荐(0)
摘要:实验任务6:综合应用(1) —— 分数文件处理 with open('data6_1.txt','r',encoding='utf-8') as f: ls=sorted([line.replace('\n','').split('\t') for line in f.readlines()],ke 阅读全文
posted @ 2021-05-17 23:03 Vat- 阅读(72) 评论(1) 推荐(0)