Python Random Strong Password Generator

Due to security needs, it is recommended that users use different strong passwords on different websites. Setting a strong password every time can be troublesome, so here we write a small Python program to generate strong passwords. In the future, just visit the following website and copy-paste the password.……

阅读全文

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

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

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.……

阅读全文

Setting up TensorFlow Deep Learning Server Environment

The lab just got a new server configured with an NVIDIA 1080TI graphics card for deep learning. The first thing after setting up the machine was figuring out how to configure the TensorFlow deep learning environment. Here, I’ll document my process of setting up the environment and the issues I encountered, hoping to help others with similar needs.……

阅读全文