Python

Use timing tasks in Django application container

As a Django application developer, you often encounter situations like this: You want to be able to perform periodic asynchronous background tasks. It will come in handy if you want to create some background checks, send notifications or build a cache

Use Python + Selenium to crawl Amazon products

Ever heard of a headless browser? Mainly used for testing purposes, they provide us with an excellent opportunity to crawl websites that require Javascript execution or any other functionality provided by the browser.

Use Python for speech recognition

Have you ever wondered how to use Python to code simple magic to start using speech recognition? Do you want to tell the computer what to search on the Internet using only the voice in your own script?

Python implements the principle of dewatering video of Douyin short video

As a heavy user of Douyin, I laugh at the video every day 😄, I am very happy. But everyone knows that the videos downloaded by Douyin are watermarked. As a programmer with obsessive-compulsive disorder, this is absolutely not allowed. There are many de-watermarking tools on the Internet, what are their principles, and they have written a particularly powerful algorithm. Curiosity drove me to start research

Validate credit card numbers with Python

The purpose of this article is to explain how to write a simple credit card validator in Python. The algorithm used to verify the card number is called Luhn's algorithm

pip watercress source proxy

For some reason, the access to the official pypi is unstable, very slow and even some cannot be accessed from time to time