Sponsored links
Python

Python How to check if list has only one data type

typing helps the Python development with the data type. But sometimes it's hard to work with type. How can we implement ...
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(s...
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 to be...
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 tr...
Python

Python How to start unit tests with pytest

This post is for those who want to start unit testing in Python with pytest. How should file name and function name look like? How can we compare results? What if the function throws an error? This post guides you to unit testing world!
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 does something f...
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-in ...
JavaScript/TypeScript

TypeScript Cancellable sleep/delay

By using async/await keyword with Promise, you can easily implement sleep/delay function. Furthermore, this post explains how to implement to cancel the sleep/delay for some reasons.
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 not f...
Sponsored links