
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Niharikaa Aitam has Published 93 Articles

Niharikaa Aitam
253 Views
In Python, converting different data types into strings is a common requirement when we want to display or store information in text format. The built-in str() function is used for this conversion. This function accepts any Python object as a parameter and returns a string representation of it. The ... Read More

Niharikaa Aitam
471 Views
When working with strings, we may need to concatenate or join multiple strings together. Python provides several methods to perform the concatenation of strings. Following are various ways to print concatenated strings using a single statement. Using the "+" Operator Using f-string Using format() Method Using join() Method Using ... Read More

Niharikaa Aitam
3K+ Views
A Dictionary is a set of key-value pairs, and each key in a Dictionary is separated from its value by a colon ":"; the items are separated by commas. They do not allow duplicate values. Since the 3.7 Python update, dictionaries are ordered. The correct syntax to create a ... Read More

Niharikaa Aitam
21K+ Views
A TAR file is abbreviated as Tape Archive, which is an archive format used mainly in Unix and Linux environments. The Tar file is used to collect more number of files into a single file, which makes it easier to share or backup together. In Python, when we want to ... Read More

Niharikaa Aitam
3K+ Views
In Python, a list is a built-in data structure that is used to store a sequence of items. Lists are mutable, i.e., the elements can be changed after the list is created. Syntax to create a Python List The correct syntax to create a Python List is using square brackets ... Read More

Niharikaa Aitam
264 Views
Printing a String Twice Using Multiplication When we are developing Python, we may want to repeat or duplicate a string for display or formatting purposes. In such cases, Python provides several ways to print a string in defined number of times with a single statement. There are different ways ... Read More

Niharikaa Aitam
913 Views
A dictionary in Python is a collection of key-value pairs. In a few cases, we may have to remove a key and its associated value from a dictionary. Python provides multiple ways to do this safely and efficiently. Using pop() method The pop() method is used to remove the specified ... Read More

Niharikaa Aitam
8K+ Views
When dealing with large files in Python, it is not efficient to read the entire file into memory at once. In such cases, we can read the file in chunks using a specified buffer size. This helps reduce memory consumption and allows for efficient processing of large files. Following is ... Read More

Niharikaa Aitam
7K+ Views
Zipping a folder recursively means compressing a folder along with all its subfolders and files. In this article, we will explore all the possible ways to zip a folder recursively using Python. Using zipfile and os.walk() In Python, we have the methods zipfile() and os.walk() to zip all the folders ... Read More

Niharikaa Aitam
220 Views
In Python, when we are working with files and directories, it's common to delete a folder that contains other files and subfolders. To delete such non-empty directories, Python provides different methods to remove entire directory trees safely and efficiently. Removing Directories Using shutil.rmtree() In Python, we have the shutil.rmtree() method ... Read More