[MacOS] How to hide terminal warning message “To update your account to use zsh, please run `chsh -s /bin/zsh`. …”
Using Python package gkeepapi to access Google Keep
Last Updated on 2020-12-17 by Clay
Introduction
Today I found a third-party Python package gkeepapi about Google Keep that looks very convenient and is not officially authorized.
The package allows us to read the content of Google Keep of our account, and also allows us to automatically upload text, notes and others things to Google Keep.
Read More »Using Python package gkeepapi to access Google Keep[MacOS] Create a Shortcut to Open Terminal
Last Updated on 2021-10-10 by Clay
After I move my workspace environment from Linux to Mac OS, I’m not used to have no any shortcut key to open terminal(Terminal.app).
Read More »[MacOS] Create a Shortcut to Open TerminalQuickly generate word cloud Python module: wordcloud
Last Updated on 2020-12-07 by Clay
Introduction
word-cloud is a very famous word in natural language processing domain. At first I thought it was just to calculate the frequency of the vocabulary and display the high-frequency words large.
But not only that, the shapes and the styles of characters are all learned not as simple as I thought.
I am a person who likes new things, so I came to study the wordcloud module in Python today and record my experience here.
Read More »Quickly generate word cloud Python module: wordcloud[MacOS] How To Change Default Scripting Language Zsh To Bash
Last Updated on 2021-10-09 by Clay
When you started using Mac OS in first time, you would find the default scripting language in terminal is Zsh instead of Bash. If you want to change this situation, I can help.
Read More »[MacOS] How To Change Default Scripting Language Zsh To BashThe most convenient features of Flutter: Hot Reload
Last Updated on 2020-12-03 by Clay
Introduction
If you talk about Flutter, everyone will think of the following features:
- Programming language is Dart
- Developed by Google, the community is actively
- One set of code compilation for multiple platforms
I am currently studying. What I want to share today is a very convenient function in Flutter development: Hot Reload.
Read More »The most convenient features of Flutter: Hot ReloadUse Python PIL module to merge two images
Last Updated on 2020-11-30 by Clay
Introduction
Recently, because I have been studying the interface of the program, I got many strange problems.
I want to record today is how to merge two pictures. I found that if I simply use the composite()
function in PIL, the second picture will be overwritten by the first picture. So, I started to try convert the background of the second picture to transparent.
After converting the image to a transparent background, the result of the merging is quite natural to me.
I will start to introduce how to merge two pictures in below.
Read More »Use Python PIL module to merge two images[Python] Use Pillow Package To Convert The Background Into Transparent
Last Updated on 2021-10-13 by Clay
If we want to convert a picture background into transparent, we can use the Pillow package in Python to do it.
Read More »[Python] Use Pillow Package To Convert The Background Into TransparentHow to auto complete code in Notepad++
Last Updated on 2021-05-13 by Clay
Introduction
Notepad++ is a free open source editor, published by GPL license and it have multi-language version. In addition to writing, it can also be used to write programs.
Read More »How to auto complete code in Notepad++[Solved][Python] AttributeError: module ‘win32ctypes.pywin32.win32api’ has no attribute ‘error’
Last Updated on 2020-11-24 by Clay
Introduction
Today I used PyInstaller to package my Python program to execute file on Windows, I got an error message:
AttributeError: module 'win32ctypes.pywin32.win32api' has no attribute 'error'
After I searching some information on Internet, I found it is a common problem about icon picture of our GUI program. The icon need to use the .ico file, but I use a .png file.
This icon is on the computer desktop dock, not the icon on the program window.
Read More »[Solved][Python] AttributeError: module ‘win32ctypes.pywin32.win32api’ has no attribute ‘error’