- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Rajendra Dharmkar has Published 453 Articles
Rajendra Dharmkar
612 Views
File handling plays a pivotal role in efficiently managing data in the realm of computer programming. Python, being a versatile and powerful language, equips developers with robust mechanisms for reading and writing files seamlessly. When working with files, Python offers a range of modifiers that allow for fine-tuning the behavior ... Read More
Rajendra Dharmkar
4K+ Views
In the realm of Python programming, working with files demands a thorough grasp of the various modes in which files can be opened. The mode of file opening dictates the operations that can be performed on the file, be it reading, writing, or a combination of both. Python offers a ... Read More
Rajendra Dharmkar
4K+ Views
It is known that file compression is a routine task in software development and data management in Python. The act of zipping folders recursively is a valuable skill that allows you to compress not only the top-level folder but also all its subdirectories and files; this results in creating a ... Read More
Rajendra Dharmkar
5K+ Views
The manipulation of files in the domain of programming plays a decisive role in data processing and management. Developers find themselves equipped with robust tools to handle files and text effectively in Python which is a multipurpose and powerful language. Among the everyday tasks involving files, one crucial operation is ... Read More
Rajendra Dharmkar
2K+ Views
In the domain of file and folder manipulation, it is found that hidden files and folders can be a source of inconvenience, chaos and confusion, particularly when they are not supposed to be accessible and visible to the end-users. It is a common practice to keep hidden files and folders ... Read More
Rajendra Dharmkar
1K+ Views
Slicing is a technique in Python used to extract a portion of a sequence, such as a string, list, or tuple. Slicing involves specifying the start and end indices of the sequence, and the resulting slice will contain all elements from the start index up to (but not including) the ... Read More
Rajendra Dharmkar
2K+ Views
In Python, %r and %s are used as string formatting operators to insert values into a string. The %s operator is used for representing strings, whereas %r is used to represent a string as it would appear in its raw form, including quotes and special characters. Use %s when you ... Read More
Rajendra Dharmkar
724 Views
The import statement in Python is used to bring code from external modules or libraries into your program. This is a powerful feature that allows you to reuse code and avoid duplicating code across multiple programs. Here are some examples of how to use the import statement: Import a single ... Read More
Rajendra Dharmkar
2K+ Views
In Python, an empty string is a string with no characters in it. It is represented by a pair of single quotes '' or a pair of double quotes "". An empty string is different from a null value, which is a special value representing the absence of any object. ... Read More
Rajendra Dharmkar
1K+ Views
In Python, a string is a sequence of Unicode characters, while a byte string is a sequence of raw bytes. Here are three examples that demonstrate the difference between a string and a byte string: Creating a String Example In this example, we define a string "Lorem Ipsum" using double ... Read More