Articles by Deepak Prasad
Rename Docker Container (3 Easy Methods with Examples & Best Practices)
Learn how to rename a Docker container using simple commands with practical examples. Understand how docker rename works, when to use it, and best practices for …
How to slice dictionary in Python? [SOLVED]
In this article, we will see one of the most asked and confusing problems: slicing a dictionary in Python. Slicing a dictionary means obtaining the subsets of
DevSecOps vs DevOps - Explaining the Difference
Although DevOps has been serving a phenomenal role in development processes for many years, it's been lacking one small aspect - security. Therefore DevSecOps
Extending Dictionary in Python [SOLVED]
A dictionary is a changeable, unordered Python container used to hold mappings between distinct keys and values. Curly brackets () are used for dictionaries,
Golang Benchmark and Testing [Step-by-Step]
Step by step instructions to perform golang benchmarking and testing
Mastering Python len() Function [In-Depth Tutorial]
The len() function in Python is a built-in function that returns the number of items in an object. It's one of the simplest and most frequently used functions
Keep Docker Container Running (5 Easy Methods + Examples & Best Practices)
Learn how to keep a Docker container running using multiple methods like TTY mode, entrypoint, sleep infinity, and process management. Fix containers exiting …
Is it possible to copy string in Python? [SOLVED]
Python strings are immutable, which means that it cannot be changed but there are ways to copy strings in Python. In this tutorial we will cover different …
Python while loop with multiple conditions [SOLVED]
Using python while loop with multiple conditions in single or nested loop with examples.
Python function Return Multiple Values [SOLVED]
In this tutorial we learn how in python function return multiple values in different data types such as List, Tuple or Dictionary.
Docker Logout Explained (How to Logout from Registry + Best Practices)
Learn how to logout from Docker registry using the docker logout command. Understand how credentials are stored, when to logout, and best practices for securing …
Override Docker Entrypoint (How to Change CMD & ENTRYPOINT with Examples)
Learn how to override Docker ENTRYPOINT and CMD using docker run options. Understand the difference between ENTRYPOINT and CMD with practical examples and best …
How to Build Powerful Python Custom Exceptions?
We can create Python custom exceptions by creating a new class and define the exception name and then use raise this user defined exception.
Loop over Single or Multiple Lists in Python Like a PRO
Learn with an extensive guide on how to loop through Lists (one or more) in sequential or parallel manner using different methods.
How to find length of Set in Python? [SOLVED]
Use len() function to check length of a set in Python
