会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
89
90
91
92
93
94
95
96
97
···
188
下一页
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
阅读(60)
评论(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
阅读(1434)
评论(0)
推荐(0)
QQ简单设置 拒绝被拉入QQ群
摘要: QQ简单设置 拒绝被拉入QQ群PC电脑:进入主界面,点击左下角的主菜单选项,然后点击“设置”上方的权限设置--左侧 临时会话取消勾选 “群” 手机QQ:点击头像设置 消息通知临时会话消息设置点击关闭“群”
阅读全文
posted @ 2022-10-31 08:56 myrj
阅读(1358)
评论(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
阅读(228)
评论(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
阅读(149)
评论(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
阅读(75)
评论(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
阅读(77)
评论(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
阅读(238)
评论(0)
推荐(0)
C语言:条件和循环没有花括号时只有最近的一句为条件成立时执行的语句或循环体只有一句
摘要: #include <stdio.h> main() { int x=10,y=20,t=0; if(x==y) t=x;x=y;y=t; printf("%d %d",x,y); int n=0; while(n++<=1) printf("%d\t",n); printf("%d\n",n); /
阅读全文
posted @ 2022-10-17 19:47 myrj
阅读(125)
评论(0)
推荐(0)
python 关闭指定进程
摘要: import psutil def guanbi(): TARGET = "adb.exe" [process.kill() for process in psutil.process_iter() if process.name() == TARGET]
阅读全文
posted @ 2022-10-17 11:02 myrj
阅读(115)
评论(0)
推荐(0)
上一页
1
···
89
90
91
92
93
94
95
96
97
···
188
下一页
公告