[Python] Use googletrans Python Package to use Google Translate
If we want to translate a language to another language, many people will open the Google Translate web.
Read More »[Python] Use googletrans Python Package to use Google TranslateIf we want to translate a language to another language, many people will open the Google Translate web.
Read More »[Python] Use googletrans Python Package to use Google TranslateRecently, I studied a word cloud generation tool for a while, and of course I used the famous wordcloud
package in python. I currently have a function that I want to do is to customize the background of the picture, but I only found the use of a picture mask to reshape the word cloud.
wordcloud
is a famous python package to generate word cloud. Today I want to record how to change the word color in the word cloud generated by this package.
matplotlib
is a famous python plot package and most of user used it to process the image.
But when I using matploblib
package to plot a image, I do not like the white border of my plot image.
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.
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 ResultsFor a long time, I want to write an article about crawlers, recording the regular expression, IP settings, user agent... etc. often used tools or some knowledge.
Read More »[Python] Use Selenium package to crawl the google search engineWhen we using python to read a file, or use any editor to open the file, we open file with the wrong encoding that causes the text in the file to appear garbled.
Read More »[Python] Use "chardet" package to determine the encoding of the fileI 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.
I have used WordPress to build blog for more than half a year. The reason why I build a blog was to record the process of learning programming, so that I can recall it easily if I have forgotten many technical details in the future.
Read More »[WordPress] A Conversion Program to Highlight the Code in HTML Block