![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
yuki_jie
这个作者很懒,什么都没留下…
展开
-
CentOS下python3安装
1. 下载python3源码, 选择第一个Gzipped source tarball下载2. 将python3源码上传到服务器,如果服务器只有内网ip,需要使用scp local_file remot_ip:remote_file将源码复制到服务器上3. 安装相关包,否则会报错缺少zlib 的相关工具包,安装相关包即可yum -y install zlib*4. 解压tar -xvf Pytho原创 2018-01-02 14:42:00 · 625 阅读 · 0 评论 -
locals()函数/批量生成变量[赋值]
locals()函数 (1)返回当前位置的全部局部变量 (2)Return a dictionary containing the current scope's local variables. (3)参数:无参数 批量生成变量[赋值] 可用于pandas批量读入数据原创 2018-01-03 09:48:06 · 1212 阅读 · 0 评论 -
CentOS下anaconda3的安装
系统默认python2 平时使用python3,键入python3运行py文件 选择下载anaconda3 网址: https://repo.continuum.io/archive/index.html 注意版本2和3不要选择错了 安装 1. bash 2. 回车——yes —— 狂按回车——yes 3. 安装完成,重启终端,输入py原创 2018-01-04 16:50:23 · 1891 阅读 · 1 评论