![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
十一个苹果
一只数据狗
展开
-
Python中STRIP(),REPLACE()和RE.SUB()用法
str.replace(old, new[, max])old — 将被替换的子字符串。new — 新字符串,用于替换old子字符串。max — 可选字符串, 替换不超过 max 次#示例代码In [3]: strOut[3]: ‘this is python string example,this is python string example’In [2]: print(str...原创 2019-10-21 16:14:48 · 308 阅读 · 0 评论 -
2. python3安装及centos6.8安装Python3.7.3报错解决
#创建两个约定俗称的文件夹,来进行我们的软件包的存放和软件的安装所有软件的安装路径mkdir -p /opt/servers所有软件压缩包的存放路径mkdir -p /opt/software#上传Python到software目录,并解压root@node02 ~# tar -zxvf Python-3.7.3.tgz -C ../servers/#我这边没有提前配置基本环境会...原创 2019-07-02 15:26:45 · 608 阅读 · 0 评论