春江暮客

Drawing Violin Plots with Seaborn

TECHNOLOGY
Drawing Violin Plots with Seaborn

The difference between shadowcopy and deepcopy in python

TECHNOLOGY
The difference between shadowcopy and deepcopy in python

python3 requests module usage examples

TECHNOLOGY
python3 requests module usage examples

The network module in python3 is much more convenient compared to python2. The requests package combines several python2 packages. This article explains the usage of requests with examples, serving as a review and future reference.

Kaggle Local Dog Breed Recognition

TECHNOLOGY
Kaggle Local Dog Breed Recognition

After setting up the deep learning environment, the first thing is to try if it works. The simplest way is to use a pretrained model to predict new samples.

Introduction to Artificial Neural Networks

TECHNOLOGY
Introduction to Artificial Neural Networks

Artificial Neural Network (ANN), also called Neural Network (NN) or neural-like network, is a mathematical model that mimics the structure and function of biological neural networks. It consists of a large number of neurons connected for computation. In most cases, artificial neural networks can change their internal structure based on external information, making them adaptive systems, simply put, they have learning capabilities.

Recursively download files python

TECHNOLOGY
Recursively download files python

I want to back up my website recently, but the size of the file downloaded by PHP is limited, and I am too lazy to install FTP to download it. So I thought of temporarily setting up a secondary domain name site, and then using python (python3)'s requests library to directly download all the files and folders in the root directory of the website to achieve the purpose of backup.

Python Converts All Site Images to WebP Format

TECHNOLOGY
Python Converts All Site Images to WebP Format

WebP is an image file format developed by Google that provides both lossy and lossless compression. The WebP image format can significantly reduce file size while achieving the same image quality as the JPEG format, thereby significantly reducing the time it takes for image files to be sent over the network.

scrapy crawl subtitle group today's updated movies - with source code

TECHNOLOGY
scrapy crawl subtitle group today's updated movies - with source code

Because I like watching American TV shows, and the subtitle group's resources update very quickly, and I have written many scrapy spiders, and I also maintain a small movie site for friends to download, I wondered if I could use a script to realize daily updates and crawling of subtitle group movie resources.

Drawing a Circle with Squares Using Turtle

TECHNOLOGY
Drawing a Circle with Squares Using Turtle

I recently discovered a very interesting Python drawing library called Turtle. Here, I'll briefly explain the idea behind using the Turtle library to draw a circle with squares.

Drawing the Butterfly Curve with Python

TECHNOLOGY
Drawing the Butterfly Curve with Python