最新 最热

Python pyperclip模块的使

2 yum -y install xsel xclip 该模块利用该程序进行copy和paste

2020-01-15
1

[python] 安装pip

1.下载pip wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate2.解压缩tar -xzvf pip-1...

pip
2020-01-15
0

Docker(十八)基于python3.

dockerfile 如下FROM rlesouef/alpine-python-3.5RUN echo -e "https://mirrors.aliyun.com/alpine/v3.7/main" > /etc/apk/repositories &&     apk --update add     ......

2020-01-15
1

【Python】文本分析

依赖库pip install jiebapip install matplotlibpip install wordcloudpip install snownlp词频统计# -*- coding: utf-8 -*-import jiebafrom wordcloud import WordClou...

2020-01-14
1

pip install MySQL-py

本来很简单的东西,因为安装了mysql5.7执行以下几步1.wget 2.cd MySQL-python-1.2.33.yum -y install  python-devel  mysql-devel4.mkdir -p /usr/local/mysql/lib && ln -s /opt/mysql/li......

2020-01-14
0

python的版本切换

对于pycharm:对于eclips的切换:先添加3.x目录:pip install:(cd到各自环境目录)

2020-01-13
1

python (一)

1、查找网页utf编码import urllibif name == 'main' : req = urllib.urlopen('自己想查看的网址') html = req.read() dehtml = html.decode('utf-8') print dehtml2、自.....

2020-01-13
1

Python 查看服务器磁盘信息

注:上述查到的大小信息单位为 bytes,因此,为了便于直观的观察使用量,应将其转换为M或G为单位的数据

2020-01-11
1

windows安装anaconda报错

Fatal error in launcher: Unable to create process using '"'

2020-01-10
1

Python安装升级pip

#!/usr/bin/env python#coding:utf-8import osimport tarfilesetuptools_url='https://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz --no...

2020-01-10
0