摘要: 先说卸载库,把安装语句的install换成uninstall即可.(就是install前面加了un两个字母) 安装pip3 sudo apt-get -y install python3 python3-pip 安装tkinter sudo apt-get -y install python3-tk 阅读全文
posted @ 2024-08-10 15:37 Rkey 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> int main() { std::cout << "Hello, UOS!" << std::endl; return 0; } 创建一个test.cpp文件, 在当前目录打开终端, 把上面代码内容写里面, 输入g++ test.cpp, 生成了一个a.ou 阅读全文
posted @ 2024-08-10 05:28 Rkey 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 程序段 窗体启动 整数 width,height; 矩形类 矩形; 取客户区(窗体, &矩形); width = 矩形.宽-矩形.左; height =矩形.高-矩形.顶; 文本 x[5]=width; 文本 y[5]=height; 信息框(0,x,"你好",信息图标); 信息框(0,y,"你好" 阅读全文
posted @ 2024-08-08 23:10 Rkey 阅读(27) 评论(0) 推荐(0) 编辑
摘要: HWND FindWindow( LPCSTR lpClassName, LPCSTR lpWindowName ); FindWindow 函数是 Windows API 的一部分,用于检索与指定条件匹配的窗口的句柄。 参数1:窗口类名 参数2:窗口名 两者必须指定其一.若有其一,另一个必指定为N 阅读全文
posted @ 2024-08-08 22:10 Rkey 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 程序段 窗体启动 整数 设备,刷子; 设备=取设备(窗体); 刷子=创建画刷($25022); 选择对象(设备,蓝刷); 画椭圆(设备,10, 10, 20, 20); 结束 创建一个刷子, 在画板上画出图形. 圆形就理解为正圆形了,正圆形其实就是宽度和高度相同的椭圆. 用设备这个变量存窗体的地址, 阅读全文
posted @ 2024-08-08 21:33 Rkey 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 数据库模块里面的函数怎么写的 小程序 数据.读表(表名) 整数 长度;文本 语句[64]; 格式化(语句,"select count(*) from %s",表名) 长度=数据.读取(语句);如果(长度>0){ 格式化(语句,"select * from %s",表名) 数据.执行(语句)}返回(长 阅读全文
posted @ 2024-08-08 13:50 Rkey 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 在Visual Basic(VB),数据类型用于定义变量可以存储的数据种类。以下是一些常用的VB数据类型: 数值类型: Byte:无符号8位整数(0 到 255)。 Integer:有符号16位整数(-32,768 到 32,767)。 UInteger:无符号16位整数。 Long:有符号32位整 阅读全文
posted @ 2024-08-08 12:30 Rkey 阅读(5) 评论(0) 推荐(0) 编辑
摘要: MsgBox Text1.Text 如图 阅读全文
posted @ 2024-08-08 11:16 Rkey 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 使用pyautogui库,模拟按键win+d import pyautogui pyautogui.keyDown('win') pyautogui.press('d') pyautogui.keyUp('win') 阅读全文
posted @ 2024-07-22 05:50 Rkey 阅读(7) 评论(0) 推荐(0) 编辑
摘要: https://modelscope.cn/models/qwen/Qwen2-7B-Instruct-GGUF/files 下载模型文件 在模型所在目录创建一个Modelfile Modelfile内容示例: FROM ./qwen2-7b-instruct-fp16.gguf 在模型所在目录进入 阅读全文
posted @ 2024-07-20 03:46 Rkey 阅读(77) 评论(0) 推荐(0) 编辑