Sponsored links
Other techs

VSCode + WSL2 + devcontainer for dev environment

If we could establish dev environment in a Docker container, it is easy to share the environment. It's easy to set up th...
Python

Python join function that works for list of list with non-string values

It occurs an error when join function is called with the following values.# TypeError: sequence item 0: expected str ins...
Python

Python Three ways to flatten a list

There seems not to be a built-in function to flatten a list in Python. So I implemented it.List containing lists that ha...
Python

Python How to pass a list to parametrize in Pytest

I searched for a way to pass a list as a parameter but I didn't find the answer. Because it is too easy to do...?Passing...
Python

Python How to call a function for all elements of a list by using map

If a function needs to be processed for all elements of a list, map function can be used.Basic usage of map functionmap ...
Other techs

Makefile How to use variables defined in a config file

It took me a while to clarify how to import variables from a config file.We have makefile.env and define environment var...
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 classFunctions 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...
Sponsored links