随笔分类 -  python

python爱好
摘要:pycharm 安装第三方库报错:AttributeError: 'module' object has no attribute 'main' pip升级到 10.0.1 之后 老版的pycharm 使用pip安装第三方库的时候会报错,报错如上图所示: 其主要原因是 新版的 pip 更改了 部分a 阅读全文
posted @ 2020-02-12 09:24 small_lei_it 阅读(338) 评论(0) 推荐(0)
摘要:字符串.isalnum() 所有字符都是数字或者字母,为真返回 Ture,否则返回 False。 字符串.isalpha() 所有字符都是字母,为真返回 Ture,否则返回 False。 字符串.isdigit() 所有字符都是数字,为真返回 Ture,否则返回 False。 字符串.islower 阅读全文
posted @ 2019-03-01 08:35 small_lei_it 阅读(3201) 评论(0) 推荐(0)
摘要:一、 更新系统 #yum -y install epel-release #yum clean all && yum makecache #yum -y update 二、安装python3 系统自带的python版本是2,并且没有安装pip 1、python2安装pip #yum -y insta 阅读全文
posted @ 2018-12-12 21:46 small_lei_it 阅读(792) 评论(0) 推荐(0)