desktop-pet:桌面宠物(python)-源码

上传者: 42129970 | 上传时间: 2021-08-14 20:16:00 | 文件大小: 457KB | 文件类型: ZIP
桌面宠物 python实现 程序说明: 桌宠:python实现的桌面宠物 默认10秒播放一个动作, 鼠标双击左键 激活行走功能, 再次单击可以取消行走, 右键有一些简单的系统功能,后续会增加 默认的图片是转载自 @XGBGHOST (微博) 当然, 如果你有自己的图片,可以进行替换, 也可以增加动作 环境及使用, 打包方法 基于python3.7, PyQt5 运行 python run.py 即可运行 --daemon 用非守护进程方式启动 --tray 启动托盘功能 打包 pyinstaller run.spec 只在mac上测试过, windowns未知 文件说明 core/action.py 文件下是 桌宠每一个动作(真正的文件在img文件夹下), 可以加动作,也可以减少动作 如果加动作,可以把一帧帧的图片放在img文件夹下, 然后再action.py里配置好地址,程序自动读取

文件下载

资源详情

[{"title":"( 46 个子文件 457KB ) desktop-pet:桌面宠物(python)-源码","children":[{"title":"desktop-pet-master","children":[{"title":".gitignore <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"core","children":[{"title":"daemon.py <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"conf.py <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"action.py <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"pets.py <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"ability.py <span style='color:#111;'> 941B </span>","children":null,"spread":false},{"title":"settings.py <span style='color:#111;'> 536B </span>","children":null,"spread":false}],"spread":true},{"title":"requirements.txt <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"run.py <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"frozen_dir.py <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 34.33KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"Pipfile <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"run.spec <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"img","children":[{"title":"boring3.png <span style='color:#111;'> 16.58KB </span>","children":null,"spread":false},{"title":"right3.png <span style='color:#111;'> 16.25KB </span>","children":null,"spread":false},{"title":"pull3.png <span style='color:#111;'> 12.02KB </span>","children":null,"spread":false},{"title":"run2.png <span style='color:#111;'> 15.19KB </span>","children":null,"spread":false},{"title":"config.png <span style='color:#111;'> 26.69KB </span>","children":null,"spread":false},{"title":"pull2.png <span style='color:#111;'> 11.87KB </span>","children":null,"spread":false},{"title":"shutdown.png <span style='color:#111;'> 13.18KB </span>","children":null,"spread":false},{"title":"wechat.png <span style='color:#111;'> 13.40KB </span>","children":null,"spread":false},{"title":"boring2.png <span style='color:#111;'> 16.11KB </span>","children":null,"spread":false},{"title":"run1.png <span style='color:#111;'> 14.54KB </span>","children":null,"spread":false},{"title":"pull4.png <span style='color:#111;'> 14.51KB </span>","children":null,"spread":false},{"title":"terminal.png <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"sing2.png <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"left3.png <span style='color:#111;'> 16.31KB </span>","children":null,"spread":false},{"title":"walk1.png <span style='color:#111;'> 14.62KB </span>","children":null,"spread":false},{"title":"pull1.png <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"right2.png <span style='color:#111;'> 15.99KB </span>","children":null,"spread":false},{"title":"init.png <span style='color:#111;'> 14.36KB </span>","children":null,"spread":false},{"title":"lie1.png <span style='color:#111;'> 13.15KB </span>","children":null,"spread":false},{"title":"boring1.png <span style='color:#111;'> 16.07KB </span>","children":null,"spread":false},{"title":"fall.png <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"left2.png <span style='color:#111;'> 15.98KB </span>","children":null,"spread":false},{"title":"sing3.png <span style='color:#111;'> 16.54KB </span>","children":null,"spread":false},{"title":"walk2.png <span style='color:#111;'> 14.49KB </span>","children":null,"spread":false},{"title":"lie2.png <span style='color:#111;'> 12.74KB </span>","children":null,"spread":false},{"title":"shime4.png <span style='color:#111;'> 16.26KB </span>","children":null,"spread":false},{"title":"sing1.png <span style='color:#111;'> 14.97KB </span>","children":null,"spread":false},{"title":"left1.png <span style='color:#111;'> 15.29KB </span>","children":null,"spread":false},{"title":"calculation.png <span style='color:#111;'> 12.81KB </span>","children":null,"spread":false},{"title":"right1.png <span style='color:#111;'> 15.28KB </span>","children":null,"spread":false},{"title":"exit.png <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明