Download the complete novel from "top novel" -- python crawler
This program is just for practice. First of all, it's a non fee based novel website. I often read novels on this website, so I chose this website...
Python 10 minutes to create your own personal logo
Preface I believe you are no stranger to the use of word cloud. It's easy to use. Just call wordcloud package directly. Its main function is to g...
Getting started with Python crawler
Written in front A beautiful day has begun again. Today, we continue to climb the IT online education website, mooc.com. The data volume of this platf...
Fuzzy matching based on string
Recently, due to the phenomenon that some similar cell names, street names stored in the database are not standardized, such as shorthand, typography,...
Python basic exercises
1. Number of printing 1-100 for i in range(1, 101): print(i) 2. Print the sum of 1 + 2 +.. 100 num = 1 sum = 0 while num < 101: sum += num num += 1...
Understanding Slice Symbols
I need a good explanation of the Python slice symbol (the reference is a plus sign). For me, this notation requires some attention. It looks very pow...
Why Python 3 chooses to support non ASCII identifiers
The original text is: PEP 3131 -- Supporting Non-ASCII Identifiers. Python 2 does not support non ASCII identifiers. The full name of PEP is Python En...
django+uwsgi+daphne+supervisor production environment deployment
I. Preface In the previous article, websocket is used for real-time communication in the project, but the production environment also uses the deploym...
python uses grpc and packages it into python module
xmlrpc is still a feasible solutionI. environmentpython3.6 II. Installation module pip3 install grpcio pip3 install protobuf pip3 install grpcio-tool...
What are the similarities between Python and JS?
Python is a widely used language. It can automate scripts, crawlers, and even in the field of deep learning. As a front-end developer, I also know tha...
Python basic exercise three supermarket storage cabinet simulation (optimization)
Title Description Simulate the operation of storing and taking out the items in the supermarket's storage cabinet. When storing the items, select...
python multithreading and multiprocessing: ping scanning and stock price crawling of surviving hosts
python multithreading and multiprocessing Multithreading: Case: scan the surviving hosts in a given network (test by ping, if there is a response, it ...
Rest Framework: IV. authentication component
I. create LoginAuth class to complete the authentication process urls.py url(r'^login/', views.Login.as_view()), url(r'^books/', ...
Python draws a beautiful cherry tree (different kinds of cherry + Rose + Christmas tree)
There are many tree diagrams drawn in Python (most of them are turnle libraries), which is very beautiful. I sorted them out and selected some code th...
Three ways to implement python multithreading concurrent processing
Tag: python's spoof technique Optimal number of threads Ncpu = number of CPUs Ucpu = target CPU usage W/C = ratio of waiting time to calculation ...
python multithreaded crawler + batch download Doo Doo Doo picture project (attention, continuous update)
python multithreaded crawler project () Crawling target: doodle (starting url: http://www.doutula.com/photo/list/?page=1) Crawling content: doutula pi...
Natural language processing: preprocessing of PTB data set
Reference books TensorFlow: a practical Google deep learning framework (version 2) First, assign a number to each word according to the word frequency...
Get the weight or feature of a layer in the middle of Python
Get the weight or feature of a layer in the middle of Python Question: how to deal with a trained network model that wants to know the weight of a ce...
Python automatic operation and maintenance development: basic Mysql Database Paging and paging in Python code
Back end database paging is implemented according to limit The first writing method: limit the number of pages offset start position select id,name,s...
[Xuefeng magnetic needle stone blog] python tkinter graphic tool style job
python test development project practice directory python tools book download - continuous update Use tkinter to draw the following window Reference ...
Getting started with Python crawler 17-100 blog crawling data
Written in front I've been blogging for a while, but I suddenly forget that the blog of blog channel can also be grabbed, so I did In fact, it�...
Django's own background management configuration
Configuration of Django's own background management Create projects and apps Modify profile Database configuration DATABASES = { 'default�...
Practical encryption module of python
Note 1: MD5, SHA1, SHA256, SHA512 encryption The encryption of these hash algorithms is supported in the built-in module hashlib of python.This part o...
Python practice example (10)
55. Learn to use bitwise inversion ~. Program analysis: ~ 0 = 1; ~ 1 = 0(1) first shift a to the right by 4 digits. (2) set a number with the lower 4 ...
Spring Data JPA must master 20 + query keywords
WeChat public number: an excellent wasterIf you have any questions or suggestions, please leave a message in the background. I will try my best to sol...
A quick start to the tutorial 1 of beautiful soup, a python data extraction tool
brief introduction Picture.png Beautiful Soup is a library that can easily grab information from a web page. It is located at the top of an HTML or X...
sys and subprocess of python module and writing simple host scanning script
sys and subprocess of python module and writing simple host scanning script 1.sys module sys.exit(n) function: the interpreter exits automatically whe...
Python file operation (basic)
'''File name: small doubleThe contents of the document are as follows: Last night, cicadas couldn't keep singing.It's three o...
Python basic (string) day two
1. Single quotation mark and escape Guide 2. Splicing string 3. Format string 4. Common methods #Remove spaces and special symbols #Search and replace...
Python automatic operation and maintenance development -- Basic slice Application & & list function
1. Slice application (1) copy list: what's the difference between directly assigning a new list and slicing a new list? Use the method of assign...