12 2021 档案
Unity 调用外部exe的完美封装
摘要:手写不易,点赞支持,支持纯手工,转载请标明出处 using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Threadin 阅读全文
posted @ 2021-12-16 11:26 Jason_c 阅读(1198) 评论(0) 推荐(0)
Python OSError: Could not find lib geos_c.dll or load any of its variants
摘要:Python打包出exe后运行发现总是报OSError: Could not find lib geos_c.dll or load any of its variants缺少geos_c.dll的错误, 而且非常奇怪,直接运行Python文件不报错,打出来的exe就报错,考虑是依赖没有打进去, 解 阅读全文
posted @ 2021-12-14 10:48 Jason_c 阅读(2910) 评论(0) 推荐(0)
将Python工程编译成exe
摘要:1、首先安装pyinstaller,不会安装的参考上一篇文章https://www.cnblogs.com/Jason-c/p/15666406.html 2、打开cmd,将/Scripts/pyinstaller.exe拖到cmd上 3、后面输入-F 4、再将要打包exe的.py文件拖到cmd上, 阅读全文
posted @ 2021-12-09 11:57 Jason_c 阅读(876) 评论(0) 推荐(0)
Visual Studio 安装Python第三方依赖
摘要:1、使用pip命令安装google.protobufpip install --index https://pypi.mirrors.ustc.edu.cn/simple/ protobuf 2、国内镜像 https://pypi.douban.com/simple/ 豆瓣https://mirro 阅读全文
posted @ 2021-12-09 11:39 Jason_c 阅读(448) 评论(0) 推荐(0)
C# 三态布尔值
摘要:当判断条件有三种状态时,又不想使用枚举可以使用bool? 例: bool? isA=true;//三种状态:true,false,null if(isA==null) {} else { if((bool)isA) {} else {} } //或者 if(isA.HasValue) { if(is 阅读全文
posted @ 2021-12-08 15:24 Jason_c 阅读(347) 评论(0) 推荐(0)