摘要: https://zhuanlan.zhihu.com/p/625774986 阅读全文
posted @ 2023-07-01 15:10 乐swap火 阅读(13) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/zhizhengguan/article/details/109720174 阅读全文
posted @ 2023-06-28 11:25 乐swap火 阅读(41) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_44875284/article/details/123994575 https://zhuanlan.zhihu.com/p/609771875 在不熟悉的情况下还是直接使用默认参数 memory_order_seq_cst 防止掉坑里 阅读全文
posted @ 2023-06-28 11:11 乐swap火 阅读(19) 评论(0) 推荐(0) 编辑
摘要: class Controller { public: Controller() = default; ~Controller() { std::cout << "in ~Controller" << std::endl; } class SubController { public: SubCont 阅读全文
posted @ 2023-06-21 18:03 乐swap火 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 这个问题不是xrld库导致的,是excel表的格式设置问题,改成文本就行 ps:我的excel单元格格式改成文本还是没啥作用,用了类型转换(数字转文本)才起到作用,这个属于excel的操作了,不太熟悉 在不确定单元格被读取到python中的类型时,可以输出看看 各个值代表的类型 阅读全文
posted @ 2023-06-15 10:11 乐swap火 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 1.首先进入到包含改文件的目录 2.格式:svn sw 目标文件url 文件路径 例子:svn sw xxx/yyy/zzz/targetFile.txt ./targetFile.txt 阅读全文
posted @ 2023-06-05 19:51 乐swap火 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1.设置虚拟网络编辑器 网关ip 起止ip段 2.更改centos(这里用的centos7.7)网络配置 打开文件 ,这里的ens33各个机器可能不同,按实际来 从上到下为ip,网关dns服务器,子网掩码 关闭ipv6设置固定ipv4 (1)将BOOTPROTO设置为static或者none (2) 阅读全文
posted @ 2023-05-26 17:11 乐swap火 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.jb51.net/article/258341.htm os.walk本身已经是遍历读取,包含所有的子文件(夹) path = u'.' #文件路径 def newWalkFile2(file): #main_dir 当前路径,sub_dir_list 当前路径下的子文 阅读全文
posted @ 2023-05-05 17:15 乐swap火 阅读(57) 评论(0) 推荐(0) 编辑
摘要: https://www.zhihu.com/question/35584979/answer/274675706 https://www.cnblogs.com/hackerl/p/4963642.html python中字符串有两种形式: str和Unicode 如果是Unicode,使用prin 阅读全文
posted @ 2023-05-05 16:05 乐swap火 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 本质上是因为批处理读取命令时是按行读取的(另外例如for命令等,其后用一对圆括号闭合的所有语句也当作一行) 在一行中即使是使用变量赋值也是无作用的,使用才有了变量延迟 https://www.jb51.net/article/29323.htm 阅读全文
posted @ 2023-05-05 09:43 乐swap火 阅读(46) 评论(0) 推荐(0) 编辑