Install Python 3 and ANSI ble under CentOS 8

Compile and install Python 3 First, install some dependency packages required for compilation through yum: [root@localhost ~]# yum install -y wget gcc make libffi-devel zlib* Enter the download address on Python official website: https://www.python.org/downloads/source/ I chose the latest version of 3.8.0: Click the corresponding version to ...

Added by hookit on Wed, 20 Nov 2019 16:53:43 +0200

Seafile installation process

winLTSB 2016 virtual machine installation ubuntu 18.04 Server +Seafile ubuntu installed in virtual machine Source change Backup first cp /etc/apt/sources.list /etc/apt/sources.list.bak Replace the following nano /etc/apt/sources.list deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun ...

Added by goaman on Sun, 10 Nov 2019 23:46:32 +0200

The history of MySQL Python installation on Mac

Phenomenal description At first, the pip command prompts the following errors: cc -bundle -undefined dynamic_lookup -Wl,-F. build/temp.macosx-10.14-intel-2.7/_mysql.o -L/usr/local/Cellar/mysql-connector-c/6.1.11/lib -lmysqlclient -lssl -lcrypto -o build/lib.macosx-10.14-intel-2.7/_mysql.so ld: library not found for -lssl clang: error: linke ...

Added by kiss the robot on Fri, 01 Nov 2019 08:43:06 +0200

Python playing wechat

A lot of people are using wechat. Do you want to use Python to control our wechat? Well, let's go straight to the dry goods. We can directly encapsulate it on itchathttp://itchat.readthedocs.io/zh/latest/ Installation module 1 pip install wxpy 2 3 4 pip install wxpy -i "https://pypi.doubanio.com/simple " #Source of watercress 1. Gen ...

Added by staples27 on Thu, 31 Oct 2019 08:54:04 +0200

python operates MongoDB database

MongoDB is a database composed of multiple collections, and each collection is composed of multiple documents. File: #Be similar to { "_id" : ObjectId("5d2944d421b631f231d08056"), "username" : "Li Yang", "password" : "123456", "age" : 25, "gender" : "male", "dept" : [ { "title" : "Produc ...

Added by jinwu on Mon, 28 Oct 2019 21:39:16 +0200

python crawler hotspot item - slider verification code item (take Bili as an example)

1. Simulated website: Bili bilibili video network: https://passport.bilibili.com/login 2. Development environment This project needs to use io time random selenium PIL Please install the corresponding version of the library as follows. All other libraries are standard libraries. There is n ...

Added by Marsha on Sat, 26 Oct 2019 00:40:42 +0300

Summary of crawler's latest library requests HTML Library

Requests html is a relatively new crawler library. The author and requests are the same author. I. installation dependency pip install requests-html When installing, we can see that lxml,reuqests,bs4 are installed... Our common parsing and crawling libraries are installed in him separately. II. Request initiation from requests_html import HTMLS ...

Added by kwilder on Thu, 17 Oct 2019 12:58:13 +0300

Build python dual version environment under centos

Catalog Build python dual version environment under centos I. Installation of Python 3 1. Clear up the location of python 2. Update related packages for downloading and compiling Python 3 3. Installation of pip 4. Installing wget with pip 5. Download the source package of Python 3 with wget ...

Added by deffe on Mon, 14 Oct 2019 10:40:07 +0300

Introduction to Python Data Analysis and Practical Learning Resources

pandas is a software package of Python language. When we use Python language for machine learning programming, it is a very common basic programming library. This article is an introduction to it. pandas provides a fast, flexible and expressive data structure, which aims to make the work of "relation" or "mark" data simple ...

Added by gin on Sat, 12 Oct 2019 20:23:32 +0300

ngxtop, a log monitoring tool for nginx

ngxtop, a log monitoring tool for nginx   Looking at nginx log files in tail? out! Tail-f log path ngxtop: ngxtop is a python-based program that can be installed on Python. ngxtop parses nginx access logs in real time and outputs the results (useful indicators of nginx servers) to terminals   ...

Added by Cory94bailly on Tue, 08 Oct 2019 17:50:51 +0300