上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 186 下一页
摘要: sniff(count=0, store=1, offline=None, prn=None, filter=None, L2socket=None, timeout=None, opened_socket=None, stop_filter=None, iface=None)count:抓取报的数 阅读全文
posted @ 2022-11-08 10:51 myrj 阅读(630) 评论(0) 推荐(0)
摘要: 什么是协程、异步 举个例子:假设有1个洗衣房,里面有10台洗衣机,有一个洗衣工在负责这10台洗衣机。那么洗衣房就相当于1个进程,洗衣工就相当1个线程。如果有10个洗衣工,就相当于10个线程,1个进程是可以开多线程的。这就是多线程! 那么协程呢?先不急。大家都知道,洗衣机洗衣服是需要等待时间的,如果1 阅读全文
posted @ 2022-11-06 17:34 myrj 阅读(141) 评论(0) 推荐(0)
摘要: tesseract -l chi_sim 11.png stdout from PIL import Image import pytesseract text=pytesseract.image_to_string(Image.open(r'D:\Tesseract-OCR\11.png'),la 阅读全文
posted @ 2022-11-03 21:27 myrj 阅读(52) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { short i=-4; printf("%d %o %x %u",i,i,i,i); getchar(); } //试卷答案为:04 177774 fffc 65532 %o %x %ushort i=-4;i 2字节-4原码:10000000 阅读全文
posted @ 2022-10-31 09:04 myrj 阅读(1396) 评论(0) 推荐(0)
摘要: QQ简单设置 拒绝被拉入QQ群PC电脑:进入主界面,点击左下角的主菜单选项,然后点击“设置”上方的权限设置--左侧 临时会话取消勾选 “群” 手机QQ:点击头像设置 消息通知临时会话消息设置点击关闭“群” 阅读全文
posted @ 2022-10-31 08:56 myrj 阅读(1309) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { int a,b=2; a=(++b)+(b++); printf("%d,%d",a,b); } 阅读全文
posted @ 2022-10-24 15:33 myrj 阅读(227) 评论(0) 推荐(0)
摘要: import time,os from datetime import date ,datetime import schedule def tick(): print("tick ! the time is : %s" % datetime.now()) os.system("python ka0 阅读全文
posted @ 2022-10-18 08:44 myrj 阅读(133) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { int a=5,b=4,c=3,d=2; if(a>b>c) printf("%d\n",d); else if((c-1>=d)==1) printf("%d\n",d+1); else printf("%d\n",d+2); getchar 阅读全文
posted @ 2022-10-17 20:59 myrj 阅读(57) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { int x=4,y=4; int t=++x||++y; printf("%d %d %d\n",x,y,t); int a=1,b=1; t a&&--b; printf("%d %d %d\n",a,b,t); getchar(); } 阅读全文
posted @ 2022-10-17 20:44 myrj 阅读(67) 评论(0) 推荐(0)
摘要: #include <stdio.h> //int占用四个字节 //2的原码:00000000 00000000 00000000 00000010 //2取反后:11111111 11111111 11111111 11111101 //任何类型的数据在计算机中都是以二进制补码形式存储的 //正数的 阅读全文
posted @ 2022-10-17 20:12 myrj 阅读(225) 评论(0) 推荐(0)
上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 186 下一页