Ben Chuanlong Du's Blog

It is never too late to learn.

Debugging and Testing Tools for Windows

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

OCCT

OCCT is the most popular all-in-one stability check & stress test tool available. It generates heavy loads on your components while checking for errors, and will detect stability issues faster than …

Bat Is a Better Alternative to Cat

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation on Ubuntu

sudo apt-get install bat

Notice that the installed executable is batcat (instead of bat)!

Usage

The Checkbutton Widget in Tkinter

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. ttk.Checkbutton is preferred to tk.Checkbutton.

  2. It seems to me that the Checkbutton.bind doesn't work. However, specifying a callback function using the command option when creating a Checkbutton still …

The Entry Widget in Tkinter

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. ttk.Entry is preferred over tk.Entry.

  2. ttk.Entry/tk.Entry does not have a set method to set the text directly. Instead, you have to first delete the text and …

The Label Widget in Tkinter

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

General Tips

  1. ttk.Label is preferred over tk.Label.

Change the Text of a Label

After creating a Label (whose text has already been set), there are 3 different approaches that …