Skip to content

Clay

[Python] Using package pytube to download YouTube videos


Introduction

Various electronic entertainments of modern people are inseparable from YouTube, whether it is to follow dramas, query tutorial, watch funny videos ... we will watch it on YouTube platform. Saying watching YouTube is the most important thing for modern people.

Sometimes, we will need to download videos from YouTube. Of course, this matter itself is likely to violate intellectual property rights, so our use is limited to teaching and non-commercial use. The downloaded video must be deleted within a certain period of time.

Read More »[Python] Using package pytube to download YouTube videos

Use Python pacakge Pillow to convert font files to PNG images

python
Python is the most popular programming language!

Introduction

Today, I need to plot font files in PNG format and save it, which sounds like a rare requirement. After browsing on the Internet, I found that it can use ImageFont module of Python package Pillow to solved.

At the beginning, I wanted to use the Python package fontTools to solve the problem, but later I found that the Imagefont module in Pillow was better.

Read More »Use Python pacakge Pillow to convert font files to PNG images

[Word] Paragraph setting "Left and right alignment" The last line is scattered, and the punctuation marks the problem


Introduction

When using Word to write a paper or report, sometimes due to existence of both Chinese and English in the content, or font typesetting issues, some paragraphs will appear to wrap early. As a result, our typesetting will appear a little messy.

Read More »[Word] Paragraph setting "Left and right alignment" The last line is scattered, and the punctuation marks the problem

[Linux] Double-click to execute shell script and add it to the dock bar

Sometimes if we want to execute a shell script on Linux, we need to open the terminal and give the command —— it's too slow! If we often need to use this file, for example, the startup file of an application, we may become very anxious. This is why I am looking for how to double-click to execute a shell script on Linux.

Read More »[Linux] Double-click to execute shell script and add it to the dock bar

Flutter study notes (0) How to install Intellij IDEA

Everyone who knows how to write programs has thought about writing a mobile phone App. Of course, I am no exception. I have tried to write Unity games, use Java on Android Studio to write invoice recognition and rewards, and even use my only Ipad to practice writing Swift. After that, I always wanted to learn Flutter on the recommendation of my friends. So, today's purpose is to record how to download and install Intellij IDEA to develop Flutter apps.

Read More »Flutter study notes (0) How to install Intellij IDEA