Skip to content

Python

[Python] Use the wordcloud package to generate specific shapes and colors through masks

wordcloud is a famous python package to generate word cloud. I also record about how to use the package to make a word cloud, but today I have further studied the setting of wordcloud according to different picture masks to generate different shapes of word clouds, and even control the color of the word cloud.

Read More »[Python] Use the wordcloud package to generate specific shapes and colors through masks

[Solved] (2020/04/23 Updated) Python GoogleNews can not Return Chinese Search Results

Today, when I re-used the package "GoogleNews" in Python that can automatically return search results (you can refer to [Python] Using "GoogleNews" package to get the Google News that I wrote before), it may be because I upgraded this package The version of, there is no problem in the English search, but the search result in the Chinese search is not returned, and there is no error.

Read More »[Solved] (2020/04/23 Updated) Python GoogleNews can not Return Chinese Search Results

[Python] Use the gdown package to download files from Google Drive

I once wrote the article [Linux] Use "wget" command to download file and [Linux] Use "wget" command to download files from Google Drive, which records how to use the famous wget command in Linux to download Google Drive files that have been given public permissions. Now this article is going to document the package gdown in Python that can be used to download Google Drive files.

Read More »[Python] Use the gdown package to download files from Google Drive