Author: Mr.ParottaSalna
-
Python – Operators CondItionals and Input()
In this blog, we’ll cover three fundamental concepts: operators, conditionals, and getting user input with the input() function. By the end, you’ll have a good grasp of how to use them in your Python programs. What Are Operators? Operators are symbols that tell the computer to perform specific mathematical or logical operations. Think of them…
-
Python Variable – Is a Container or a Reference ?
Unlike other programming languages, in Python, variable is not a container but just a reference or a name/label to the object. Caution: This post deals with memory management, which might confuse you if you are a beginner. Read at your own risk. Let’s dive deep into it, To understand how python handles variable storage and…
-
Docker Directives – ARG Directive
The ARG directive in a Dockerfile is used to define variables that users can pass at build time to the builder with the docker build command. These variables behave similarly to environment variables and can be used throughout the Dockerfile but are not persisted in the final image unless explicitly declared using the ENV directive.…
-
Docker Directives – Env Directive
The ENV directive in a Dockerfile can be used to set environment variables. Environment variables are key-value pairs that provide information to applications and processes running inside the container. They can influence the behavior of programs and scripts by making dynamic values available during runtime. Environment variables are defined as key-value pairs as per the…