Posts

Showing posts from November, 2021

A/L Flowchart

Image
Question  AnswerπŸ‘‡πŸ‘‡πŸ‘‡ 😊😊😊

File Handling in Python

r: Opens the file in read-only mode. Starts reading from the beginning of the file and is the default mode for the open() function. rb: Opens the file as read-only in binary format and starts reading from the beginning of the file. While binary format can be used for different purposes, it is usually used when dealing with things like images, videos, etc. r+ : Opens a file for reading and writing, placing the pointer at the beginning of the file. w: Opens in write-only mode. The pointer is placed at the beginning of the file and this will overwrite any existing file with the same name. It will create a new file if one with the same name doesn't exist. wb: Opens a write-only file in binary mode. w+: Opens a file for writing and reading. wb+: Opens a file for writing and reading in binary mode. a: Opens a file for appending new information to it. The pointer is placed at the end of the file. A new file is created if one with the same name doesn't exist. ab: Opens a file for

DevOps

Image
 What containers are & what's important? Containers are simply another method of deploying applications so, it's a development paradigm. where we can actually stick the application along with some of the operating system stuff, inside a container and its self-contained and isolated into itself and therefore. we're able to move it from place to place. you're able to move it from cloud to cloud, a platform to platform, a device to device. The value is that they're able to keep applications isolated and promote portability. containers are not replacing virtualization. This is a common misconception. Why container?