Shocked, Python cracked the BiliBili slider verification code to avoid human-computer identification perfectly

Python cracking BiliBili slider verification code |Perfect is impossible, add a shock! Python breaks the BiliBili slider verification code, avoiding human-computer identification perfectly. It can have Preparation Landing page of station B https://passport.bilibili.com/login python3 pip install sel ...

Posted by gunslinger008 on Sun, 16 Feb 2020 04:38:11 -0800

Django REST framework quick start

start We will create a simple API to allow administrator users to view and edit users and groups in the system. Project settings Create a new django project named: < tutorial >, and then create a new app named: < QuickStart >. # Create the project directory mkdir tutorial cd tutorial   # Create a virtual environment to isolate our p ...

Posted by skymanj on Sat, 15 Feb 2020 00:42:00 -0800

Python merging multiple Excel data

Installation module 1. Find the corresponding module http://www.python-excel.org/ 2. Install with pip install pip install xlrdpip install XlsxWriter pip list view XlsxWriter example 1 import xlsxwriter 2 3 # Create a workbook and add a worksheet 4 workbook = xlsxwriter.Workbook("demo.xlsx") 5 worksheet = workbook.add ...

Posted by strudo on Thu, 13 Feb 2020 10:23:09 -0800

python's experience of writing wechat to automatically grab files

python's experience of writing wechat to automatically grab files background Early stage Write code & Pit background Recently, the epidemic is rampant. All the teachers are teaching online. There are a lot of messy documents in wechat group. I'm tired of my baby. I have to read them every ti ...

Posted by ricroma on Sun, 09 Feb 2020 04:58:00 -0800

django creates the first project

django creates the first project, using pycharm, and the virtual machine uses ubantu Create command (if Django is installed) Have a project and a virtual environment awareness. You can install Django in the virtual environment if you don't install it Virtual environment construction pip install vi ...

Posted by hypuk on Sat, 08 Feb 2020 01:07:17 -0800

Download files in Python

Prerequisite The requests module needs to be installed in advance: pip install requests Put it in code. import requests url = 'XXX' #File download source URL filename = '' #New file name after downloading to local r = requests.get(url) with open(filename, "wb") as code: code.write(r.content) combat exercise with ammunition From target URL ...

Posted by realnsleo on Fri, 07 Feb 2020 08:06:43 -0800

python less than 100 lines of code to complete face recognition

1. Preparation environment python 3.5 opencv 2. Configuration environment pip install opencv-python pip install numpy pip install opencv-contrib-python 3. Prepare training data 20 photos of Tong Liya, stored under folder 0 20 photos of Dong Xuan, stored under folder 1 4. Prepare test data ...

Posted by phence on Mon, 03 Feb 2020 09:58:46 -0800

21 - URL crawling, Python asynchronous, Supervisor installation and configuration, etc

1. summary Pseudo code can be referred to "Twenty climbing URL and initial assumption of participle sentiment analysis" , only to find that this can be done for a whole day, but most of the time is used to deploy the server. Code placed in Large same-sex dating websites In fact, it's very si ...

Posted by vinny69 on Mon, 03 Feb 2020 01:10:29 -0800

Solve the problem that the installed module cannot be import ed

System: windows 10 Tools: python 3.7, pycharm, anaconda Problem: numpy cannot import First, check where the environment corresponding to your pycharm s interpreter is and whether there is any numpy package installed in it. Here I am in the base environment. In the anaconda prompt window, enter ...

Posted by enoyhs on Sun, 02 Feb 2020 22:45:58 -0800

Record the decompilation process of Python 3.7 once

Record the decompilation process of Python 3.7 once 1. Convert exe file to pyc file 2. Repair pyc file 3. How to get magic number 4. Add magic number 5. Decompile pyc files Found an exe compiled by Python 3.7, but did not find the source code. Record the decompilation process 1. Convert exe file ...

Posted by pulsedriver on Sun, 02 Feb 2020 06:48:07 -0800