上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
摘要: By the way, a string is a sequence of characters. In Python, strings are enclosed inside single quotes, double quotes, or triple quotes. 阅读全文
posted @ 2021-10-07 19:37 xman888 阅读(22) 评论(0) 推荐(0) 编辑
摘要: pattern1='(([01]{0,1}\d{0,1}\d|2[0-4]\d|25[0-5])\.){3}([01]{0,1}\d{0,1}\d|2[0-4]\d|25[0-5])' 阅读全文
posted @ 2021-10-07 16:19 xman888 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-10-07 12:48 xman888 阅读(9) 评论(0) 推荐(0) 编辑
摘要: The first thing you’ll need to do is use the built-in python open file function to get a file object. When you use the open function, it returns somet 阅读全文
posted @ 2021-10-07 11:49 xman888 阅读(110) 评论(0) 推荐(0) 编辑
摘要: python 函数的参数可以具有默认值 We can provide a default value to an argument by using the assignment operator (=). python函数的参数都可以有默认值,但是有默认值的参数必须在右侧,否则报错。 Any nu 阅读全文
posted @ 2021-10-05 23:02 xman888 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 默认情况下,Python 3 源码文件以 UTF-8 编码,所有字符串都是 unicode 字符串 行与缩进 python最具特色的就是使用缩进来表示代码块,不需要使用大括号 {} 。 缩进的空格数是可变的,但是同一个代码块的语句必须包含相同的缩进空格数。 Python Keywords Keywo 阅读全文
posted @ 2021-10-05 15:43 xman888 阅读(40) 评论(0) 推荐(0) 编辑
摘要: https://github.com/wg/wrk apt install unzip -yapt-get install build-essential libssl-dev git -yapt install makegit clone https://github.com/wg/wrk.git 阅读全文
posted @ 2021-09-28 11:22 xman888 阅读(127) 评论(0) 推荐(0) 编辑
摘要: kubectl taint nodes --all node-role.kubernetes.io/master- 上面一个命令,可以让master和worker node运行在一个物理host上。 阅读全文
posted @ 2021-09-26 20:25 xman888 阅读(44) 评论(0) 推荐(0) 编辑
摘要: install docker on each node: apt-get update apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg \ lsb-release curl -fsSL https://do 阅读全文
posted @ 2021-09-25 17:55 xman888 阅读(39) 评论(0) 推荐(0) 编辑
摘要: docker run --name mynginx -p 8080:80 -d nginx 如何进入一个running container中, nginx container 内部的路径: /usr/share/nginx/html/index.html 可以通过在container内部运行下面的命 阅读全文
posted @ 2021-09-24 10:31 xman888 阅读(110) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页