![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
慕子yi
这个作者很懒,什么都没留下…
展开
-
python 脚本----学习笔记
1·Centos上安装python3.8#!/bin/bash# install python3.8mkdir /usr/local/python3yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel# download pythonwget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz# unzipt原创 2020-10-02 23:28:30 · 109 阅读 · 0 评论 -
Shell脚本常用操作----学习笔记
1·获取单词音标result=$(curl "http://dict.cn/$1" | grep 'EN-US' |sed -e 's/<[^>]*>//g' -e 's/[[:space:]]//g' -e 's/\[//g' -e 's/\]//g' | head -1) sed -e 's/\[//g' -e 's/\]//g' #去除音标两边的括号 result 为单词音标 $1为单词...原创 2020-10-02 21:31:30 · 187 阅读 · 1 评论