摘要: # 安装docker #下载docker-ce [root@test-docker ~]# curl -O http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # 安装指定版本的docker-ce [root@test-do 阅读全文
posted @ 2022-06-16 18:36 忘末 阅读(82) 评论(0) 推荐(0)
摘要: 4. 提取出下列字符串中的电话号码: 1*3*0%Fc3$ac4*cs6滴+3=F哈8ssa5*cs2*1 答: import re str1 = "1*3*0%Fc3$ac4*cs6滴+3=F哈8ssa5*cs2*1" fObj1 = re.finditer(r"\d", str1)#返回一个满足 阅读全文
posted @ 2021-12-28 14:15 忘末 阅读(64) 评论(0) 推荐(0)
摘要: 给当前设备重命名 sysname xxx => sys xxx 退出系统视图模式 Ctrl+z (quit) 配置本地回环地址(lo 0) int lo 0 ip addr 1.1.1.1 32 配置console口超时时间(XShell/secureCRT) user-interface conc 阅读全文
posted @ 2021-12-23 14:34 忘末 阅读(572) 评论(0) 推荐(0)
摘要: 1.python爬取百度翻译 1 import requests 2 # 指定 url 3 url = "https://fanyi.baidu.com/sug" 4 # 要翻译的词 5 keyword = input("需要翻译的词:") 6 data = { 7 "kw": keyword 8 阅读全文
posted @ 2021-12-17 15:31 忘末 阅读(48) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示