上一页 1 2 3 4 5 6 ··· 28 下一页
摘要: window win10 + Python3.9.6 https://www.python.org/ftp/python/ https://www.python.org/ftp/python/3.9.6/ 这里以Python目前的最新版3.9.6版本为例,本教程也适用于Python3.x版本的安装。 阅读全文
posted @ 2023-04-20 16:09 流年中渲染了微笑 阅读(38) 评论(0) 推荐(0) 编辑
摘要: html <html> <head> <meta charset="UTF-8"> <title>身份证件加水印</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1 阅读全文
posted @ 2023-03-31 10:38 流年中渲染了微笑 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 很多同学更新系统之后,使用这两者都会遇到一条报错,类似于: SSH(ssh: connect to host localhost port 22: Connection refused) 我们之前出过一篇文章【https://www.cnblogs.com/a438842265/p/16134018 阅读全文
posted @ 2023-02-09 14:55 流年中渲染了微笑 阅读(197) 评论(0) 推荐(1) 编辑
摘要: 递归函数与二分查找算法 如果有这样一个列表,让你从这个列表中找到66的位置,你要怎么做? l = [2,3,5,10,15,16,18,22,26,30,32,35,41,42,43,55,56,66,67,69,72,76,82,83,88] 你说,so easy! l.index(66) 我们之 阅读全文
posted @ 2022-06-08 17:10 流年中渲染了微笑 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 递归函数 如果一个函数体直接或者间接调用自己,那么这个函数就称为递归函数.也就是说,递归函数体的执行过程中可能会返回去再次调用该函数.在python里,递归函数不需要任何特殊的语法,但是它需要付出一定的努力去理解和创建. 例: 我们来计算阶乘n! = 1 x 2 x 3 x ... x n,用函数f 阅读全文
posted @ 2022-06-08 17:07 流年中渲染了微笑 阅读(70) 评论(0) 推荐(0) 编辑
摘要: yum -y install bzip2 rpm2cpio xxx.rpm | cpio -div 阅读全文
posted @ 2022-05-17 22:31 流年中渲染了微笑 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 当前gcc版本 [root@localhost ~]# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Ta 阅读全文
posted @ 2022-05-17 22:23 流年中渲染了微笑 阅读(433) 评论(2) 推荐(1) 编辑
摘要: 今天在升级 gcc 的时候遇见了一个错误 error while loading shared libraries: libmpfr.so.6: cannot open shared object file 解决办法 [root@localhost gcc_bag]# wget https://al 阅读全文
posted @ 2022-05-17 22:16 流年中渲染了微笑 阅读(2341) 评论(0) 推荐(0) 编辑
摘要: 其实很简单,是因为你没有m4,安装它就OK了。 centos上用下面的命令 yum install m4 如果是在ubuntu上的话使用下面的命令 sudo apt-get install mp4 此问题就可以解决 阅读全文
posted @ 2022-05-17 17:19 流年中渲染了微笑 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 今天在使用wget来下载下载一个不安全的https 域名下的内容时会提示如下内容: cannot verify pkg.jenkins.io's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’ Issued certificate has e 阅读全文
posted @ 2022-05-17 17:17 流年中渲染了微笑 阅读(806) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 28 下一页