11 2020 档案

摘要:在整理mfc程序的时候, 为了清理项目资源, 经常需要删除项目目录或其子目录下(递归)的Debug, Release, x64, .vs等文件目录, 如果有很多项目, 手工清理很是麻烦, bat不太熟悉, 没找到合适的脚本, 自己用python写了一个清理的小脚本, 使用用例: python dem 阅读全文
posted @ 2020-11-27 17:07 黑马网仔 阅读(633) 评论(0) 推荐(0)
摘要:1 import socket 2 import time 3 4 if __name__ == '__main__': 5 mysocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 6 host_port = ("127.0.0.1", 阅读全文
posted @ 2020-11-27 16:51 黑马网仔 阅读(107) 评论(0) 推荐(0)
摘要:Linux网络编程学习路线 - CTHON - 博客园 (cnblogs.com) 阅读全文
posted @ 2020-11-26 16:37 黑马网仔 阅读(75) 评论(0) 推荐(0)
摘要:1 class PriorQueque: 2 def __init__(self, list1=[]): 3 self.__list = [] 4 self.__MakeMaxHeap(list1) 5 6 def __HeapUp(self): 7 curIndex = len(self.__li 阅读全文
posted @ 2020-11-06 10:36 黑马网仔 阅读(155) 评论(0) 推荐(0)