摘要: 内存里的资源有 垃圾回收机制 非内存资源必须手动释放 用 with 关闭 还有今天学的tcp协议的 sk.close() with : return 不会打断 正常关闭 阅读全文
posted @ 2019-04-09 20:56 learnacode 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 内容回顾 #__author : 'liuyang' #date : 2019/4/9 0009 上午 8:54 # 概念 # 架构 : BS CS # 硬件 #网卡 : 计算机中帮助我们完成网络通信 #交换机: 在局域网内多台机器之间通信 #路由器: 多个局域网之间的机器之间的通信 # 局域网:一 阅读全文
posted @ 2019-04-09 11:49 learnacode 阅读(249) 评论(0) 推荐(0) 编辑
摘要: import os import sys import pickle import hashlib class Course: def __init__(self,name,price,period,teacher): self.name = name self.price = price self.period = period ... 阅读全文
posted @ 2019-04-09 09:00 learnacode 阅读(242) 评论(0) 推荐(0) 编辑