Python

Python square brackets with a colon for list

The main purpose of this article is to understand how the following code works. This is one of the ways to add element(...
Python

Python Class constructor, destructor, accessibility, and inheritance

Define a function in a class Functions in a class can be defined in the following way. Once it's defined, it needs t...
Python

Python How to setup for Remote debugging with VSCode

Here is the official page for the remote debugging setting but it was not clear to me how to set it up until I really t...
Sponsored links
Python

Python How to start unit tests with pytest

Writing unit tests is important for a project. There are many testing frameworks but this time I use pytest. Install...
Python

Python Use triple quotes for Docstrings

I saw triple quotes in a class definition like the following. class MyClass(): """ This is my class. It ...
Python

Python when is the function actually executed if using yield

I don't remember if I have ever used yield keyword in any language in my programming life. When I joined a new project,...
Python

Python Understanding basics of for loop

for loop is one of the important techniques that every programmer needs to master in the early stage. How to use for...
JavaScript/TypeScript

TypeScript Cancellable sleep/delay

Many websites explain how to implement sleep in TypeScript/JavaScript. It can be implemented by using Promise and setTi...
Other techs

Task failed because AxImp.exe was not found

I got the following error when MSBuild.exe builds a C# project. error MSB3091: Task failed because "AxImp.exe" was n...
Other techs

ksplashqml closed unexpectedly during VM creation with VirtualBox

I will write what I did to solve some problems for VM creation. In a new project where I work, it's complex infrastruct...
Copied title and URL