![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
一只蜗牛慢慢爬
运维+开发
展开
-
CentOS 6.10安装Python2.7.15【全过程-含yum及pip问题处理】
https://teddysun.com/473.html#comments 查看当前系统中的 Python 版本python –version 返回 Python 2.6.6 为正常。检查 CentOS 版本cat /etc/redhat-release 返回 CentOS release 6.10 (Final) 为正常。安装所有的开发工具包yum groupins...原创 2018-08-15 15:02:37 · 6205 阅读 · 0 评论 -
eclipse运行python中文乱码处理
一、通常设置编码的三个地方 1、全局:window->preferences->General->Editors->Text Editors->Spelling 2、相应工程->右键->Properties 3、相应.py文件->右键->Properties 一般而言,优先级为...原创 2018-07-13 12:53:05 · 1251 阅读 · 0 评论 -
解决windows eclipse Pydev中import时报错Unresolved import requests的方法
问题:在windows安装redis-py模块后,eclipse中import redis时报错Unresolved import requests。网上的处理方法很多,如:https://blog.csdn.net/chris_111x/article/details/52312523 ,其他模块的处理类似。 解决方法: 打开eclipse后,点击Window->Preferenc...原创 2018-08-15 20:15:29 · 1176 阅读 · 0 评论 -
20个常用Python运维库模块及工具
1、psutil是一个跨平台库(https://github.com/giampaolo/psutil)能够实现获取系统运行的进程和系统利用率(内存,CPU,磁盘,网络等),主要用于系统监控,分析和系统资源及进程的管理。2、IPy(http://github.com/haypo/python-ipy),辅助IP规划。3、dnspython(http://dnspython.org)Pytho...转载 2019-06-23 18:05:48 · 2641 阅读 · 0 评论