会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
86
87
88
89
90
91
92
93
94
···
186
下一页
2022年11月8日
PYTHON SNIFF 嗅探Python Scapy-sniff函数
摘要: 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)
2022年11月6日
python 协程
摘要: 什么是协程、异步 举个例子:假设有1个洗衣房,里面有10台洗衣机,有一个洗衣工在负责这10台洗衣机。那么洗衣房就相当于1个进程,洗衣工就相当1个线程。如果有10个洗衣工,就相当于10个线程,1个进程是可以开多线程的。这就是多线程! 那么协程呢?先不急。大家都知道,洗衣机洗衣服是需要等待时间的,如果1
阅读全文
posted @ 2022-11-06 17:34 myrj
阅读(141)
评论(0)
推荐(0)
2022年11月3日
tesseract文字识别
摘要: 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)
2022年10月31日
C语言:-4分别以10进制整数 八进制 16进制 无符号显示结果
摘要: #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群
摘要: QQ简单设置 拒绝被拉入QQ群PC电脑:进入主界面,点击左下角的主菜单选项,然后点击“设置”上方的权限设置--左侧 临时会话取消勾选 “群” 手机QQ:点击头像设置 消息通知临时会话消息设置点击关闭“群”
阅读全文
posted @ 2022-10-31 08:56 myrj
阅读(1309)
评论(0)
推荐(0)
2022年10月24日
C语言:++运算
摘要: #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)
2022年10月18日
python 定时运行指定py程序
摘要: 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)
2022年10月17日
C语言:关系表达式与数学理解不同
摘要: #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)
C语言:&& ||特殊运算
摘要: #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)
C语言:2取反后结果为-3,原因?
摘要: #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
下一页
公告