Python crawler example: News total crawling

Python crawler example: News total crawling preface analysis Web page parsing Stock data source Proxy IP code implementation summary preface Some time ago, due to the needs of tasks, it was necessary to climb the number of news of Shanghai Stock Exchange 50 index component stocks on certain da ...

Posted by HavokDelta6 on Thu, 11 Jun 2020 07:10:42 +0200

Asyncpy use documentation

1 create project Install the required environment python version needs > = 3.6 Installation command: pip install asyncpy After the installation is complete, you can start creating a crawler project. Create project command: asyncpy genspider demo Create a project called demo. After the creation is successful, open the project file. The projec ...

Posted by xnor82 on Thu, 11 Jun 2020 05:39:52 +0200

Python docx operation word, insert the picture at the specified location

python-docx operates on word and inserts the picture in the specified position. introduce Install Python docx Import package Connect the word document to be operated on Add text Add picture Add table run object location Table positioning Paragraph positioning (text positioning) Complete code ...

Posted by markjia on Wed, 10 Jun 2020 08:13:16 +0200

How to use Matplotlib correctly and draw a nice picture

preface The text and pictures of this article are from the Internet, only for learning and communication, not for any commercial purpose. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. Author: Python Chinese community The data used in this paper is as shown in the figure. ...

Posted by raouleduke on Tue, 09 Jun 2020 09:20:13 +0200

Operation and maintenance to build CTFd online shooting range

CentOS7.2 build ctfd shooting range platform reference resources First, there is a 2-core 4G memory 30G disk with no interface in CentOS 7.2 Then network bridging mode Configure the yum source of CentOS7 to be Alibaba's 1. Install git yum provides git yum -y install git 2. Install pip (with pi ...

Posted by svanderclock on Tue, 09 Jun 2020 08:32:52 +0200

[Kubernetes] Docker + K8s practice Road (Docker chapter)

Meet Docker definition Docker is an open-source application container engine based on Go language. Based on cgroup, namespace of Linux kernel and Union FS of OverlayFS class, it encapsulates and isolates processes, which belongs to virtualization technology at the operating system level. Docker ...

Posted by PickledOnion on Tue, 09 Jun 2020 05:58:05 +0200

python programming from introduction to practice

1. Computer core foundation 1.1 what is language? What is programming language? Why programming languages? Language is actually the medium of communication between people, such as English, Chinese, Russian, etc. Programming language is the medium of communication between people and computers, The purp ...

Posted by earunder on Sun, 07 Jun 2020 12:41:44 +0200

Development practice of automatic test based on Pytest framework

Pytest is an easy-to-use, efficient and flexible unit test framework of Python, which can support unit test and function test. This article does not take the introduction of the pytest tool itself as the purpose, but takes an actual API test project as an example, applies the function of pytest to the ...

Posted by sword on Sun, 07 Jun 2020 07:50:34 +0200

Pandas-01-DataFrame|Series Common Methods

This paper introduces the data structure DataFrame and eries of data analysis star pack Pandas in Python, which is practical. Copyright Statement: This is an original blogger article, please indicate the source of the original text for reproducing, no white lyrics! Writing time: 2020-06-06 0:08 ...

Posted by designationlocutus on Sat, 06 Jun 2020 02:56:32 +0200

Python tells you: what are the videos of ten million net red Li Ziqi?

Yunqi information:[ Click to view more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on! Guide: today, let's talk about Li Ziqi who lives a poem. See the second part for Python technology. Official account background, reply to the keyword "Li Zi Qi" to o ...

Posted by itpvision on Fri, 05 Jun 2020 09:46:32 +0200