- 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
294 Views
In the vast realm of Python programming, possessing the knowledge of the present directory where program execution occurs stands as a foundational skill. Comprehending the current directory facilitates access to files, data organization, and precise code execution. As we set forth on this journey, we shall unravel various methods to ... Read More
Rajendra Dharmkar
6K+ Views
Venturing further into the realm of Python programming, you'll undoubtedly encounter scenarios where executing a Python file from within the Python shell becomes essential. This capability endows you with the power to test, run, and interact with your Python scripts seamlessly without exiting the Python environment. Within this article, we ... Read More
Rajendra Dharmkar
12K+ Views
When it comes to file management within a directory in Python, there can be scenarios where you find yourself needing to entirely empty the folder, erasing all the files and sometimes subdirectories it contains. In this regard, Python makes provision for several efficient and secure methods to accomplish this task. ... Read More
Rajendra Dharmkar
4K+ Views
As you explore the world of Python programming, you'll discover that modular and reusable code is indispensable. In Python, it is possible that you can source one Python file from another; this opens up a whole new avenue of possibilities for organizing code and sharing functionality between scripts. In this ... Read More
Rajendra Dharmkar
5K+ Views
The common header format of Python files is a simple yet essential element in any Python script. As you will see, the header format is like the introduction to a beautiful piece of proseāit sets the stage for what's to come and provides valuable context. In Python, we commonly ... Read More
Rajendra Dharmkar
2K+ Views
Sometimes we need to write data into files from the command line in Python. This is not an infrequent task that can greatly add to the versatility of your Python scripts. For diverse tasks like creating new files, appending data to existing ones, or overwriting content, Python offers powerful tools ... Read More
Rajendra Dharmkar
739 Views
Hunting for specific files in a directory is a task that can be effortlessly accomplished using tools in Python; in some situations, you may need to find all the files in a directory with an extension .txt using Python. Let's take a deep dive into the process involved in this ... Read More
Rajendra Dharmkar
377 Views
Have you ever come across the mysterious underscore "_" while coding in Python? This seemingly simple character holds a wealth of functionality and is often used in various contexts to enhance code readability and organization. In this article, we'll explore the magic of the underscore in Python, uncovering its four ... Read More
Rajendra Dharmkar
507 Views
Among several file-handling operations, the need to list all files in a directory is a common scenario encountered in Python, and it's quite straightforward. Python offers a utilitarian module called os that provides functions to work with the operating system, the directories, and the files seamlessly. We will cover different ... Read More
Rajendra Dharmkar
2K+ Views
In Python, dealing with files and processing them for achieving some desired objective is a recurrent and routine task. At times, you may find that you need to duplicate binary files with non-textual content such as images, audio, or video files. In this article, we will discover various ways to ... Read More
To Continue Learning Please Login
Login with Google