[python] Django–templates, static files, django template syntax, requests and responses

The notes are study notes compiled by myself. If there are any mistakes, please point them out~ [Django column] Django–Introduction to Django, installation of Django, creating projects, and getting started quickly Django – templates, static files, django template syntax, requests and responses Django – connect to mysql database Django–templates, static files, django template syntax, requests […]

k-Wave丨Photoacoustic imaging simulation丨Definition of Gaussian sensor frequency response + comparison of simulation functions + setting of initial pressure gradient (5)

This article introduces– 1.How to define Gaussian sensor frequency response: How to express the frequency response of a detector (for example: piezoelectric ultrasonic transducer) when the response has a Gaussian shape, based on the example of a homogeneous propagation medium; 2.Comparison of simulated functions: Introducing a brief comparison between the simulated functions “kspaceFirstOrder2D” and “kspaceecondorder”. […]

Network Principles—Getting to Know the HTTP Protocol: Requests and Responses

Article directory Recognition request first line URL URL format URL encode and decode version number method GET method POST method GET VS POST Request header: header Host Content-Length and Content-Type User-Agent(UA) Referer Cookies blank line Text: body How to construct an HTTP request? The browser constructs its own HTML structure ajax construct Third-party tools: postman […]

Digital filter analysis—frequency response

Digital filter analysis—frequency response Amplitude, phase, impulse and step response, phase and group delay, zero and pole analysis. Analyze the frequency and time domain response of the filter. Visualize filter poles and zeros in the complex plane. Frequency response Number field freqz uses an FFT-based algorithm to calculate the Z-transform frequency response of a digital […]

Exception handling of StreamingResponseBody

Recently I have been working on the export function of Excel files with large amounts of data. Utilize database cursor query and POI’s sxssf technology to achieve smooth conversion of database data into streams and return to the front end. The front end saves the stream bit by bit into the memory through fetch, and […]

[Practical Flask API Project Guide] Part 4 Request and Response Processing

Practical Flask API Project Guide – Request and Response Processing This series of articles will take you to explore in depth Practical Flask API Project Guide. By following Xiaocai’s learning journey, you will gradually master the application of Flask in actual projects. Let’s embark on this exciting learning journey together! Foreword When Xiaocai steps into […]

Response content encryption and anti-crawling case 1: Obtaining 4K high-definition and uncensored pictures of a certain Jane’s wallpaper

Table of Contents Preface need Destination URL detailed steps 1. Find the data interface 2. Analyze the source of encrypted data 3. Stack backtrace and analyze the function logic 4. Enter the decryption function 5. Generate js encryption logic code 6. Build python code logic Foreword Page flipping and crawling are prohibited. Attacks or distributed […]