Overview The underscore or underbar (_) serves many purposes in Python, and I haven’t fully grasped about some aspects of every one of them before starting this article. I made…
Category: Programming
Programming is the process of creating a set of instructions that tell a computer how to perform a task. Programming can be done using a variety of computer “languages” such as SQL, Java, Python, and C++.
How to ignore top rows in CSV or TSV files
Working with CSV or TSV files, we often ought to ignore the header row (aka. the column headers) before reading the rest of the file. To strip out the first…
How to automatically delete a Docker container after running it
Normally, a Docker container persists after it has exited. This allows you to run the container again, inspect its filesystem, and so on. However, sometimes you want to run a…
How To Check If Key Exists In Dictionary In Python
If you try to retrieve a non-existed key of a dictionary, you are gonna stuck an exception obviously. To be get safer, you should do check its existence before doing…
