Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
Python
21.3K+ articles
Misc
8.8K+ articles
Python Programs
4.0K+ articles
python-utility
680+ articles
python-modules
399+ articles
python-file-handling
124+ articles
Python file-handling-programs
82+ articles
Python OS-path-module
32+ articles
Python os-module-programs
28+ articles
python-os-module
224+ posts
Recent Articles
Popular Articles
Built-in Modules in Python
Last Updated: 28 April 2025
Python is one of the most popular programming languages because of its vast collection of modules which make the work of developers easy and save time from writing the cod...
read more
Python
Picked
Python-Built-in-functions
python-os-module
Python-tkinter
Python-datetime
Python-json
Python-sys
Python-random
How To Create And Use .env Files In Python
Last Updated: 28 April 2025
In Python, a .env file is commonly used to store configuration settings, API keys, and other sensitive information. It is a plain text file with key-value pairs, and the p...
read more
Python
Python Programs
Picked
python-os-module
Copy Files and Rename in Python
Last Updated: 08 July 2024
Copying and renaming files is a common task in programming, and Python provides several ways to accomplish this efficiently. In this article, we will explore some commonly...
read more
Python
Picked
Geeks Premier League
python-os-module
Geeks Premier League 2023
Os Module Vs. Sys Module In Python
Last Updated: 23 February 2024
Python provides a lot of libraries to interact with the development environment. If you need help using the OS and Sys Module in Python, you have landed in the right place...
read more
Python
Python Programs
Picked
python-os-module
Python-sys
Find the Mime Type of a File in Python
Last Updated: 28 April 2025
Determining the MIME (Multipurpose Internet Mail Extensions) type of a file is essential when working with various file formats. Python provides several libraries and meth...
read more
Python
Python Programs
Picked
python-file-handling
python-os-module
Closing an Excel File Using Python
Last Updated: 20 March 2024
We are given an excel file that is opened and our task is to close that excel file using different approaches in Python. In this article, we will explore three different a...
read more
Python
Python Programs
Picked
python-os-module
Python-excel
Print Output from Os.System in Python
Last Updated: 28 April 2025
In Python, the os.system() function is often used to execute shell commands from within a script. However, capturing and printing the output of these commands can be a bit...
read more
Python
Python Programs
Picked
Python-Output
python-os-module
Os.Listdir() is not Working in Python
Last Updated: 28 April 2025
The os.listdir function serves as a fundamental tool for retrieving the contents of a directory. However, users occasionally encounter perplexing situations where the func...
read more
Python
Python Programs
Picked
python-os-module
Python Errors
Uses of OS and Sys in Python
Last Updated: 12 March 2024
In this article, we will see where we use Os and Sys in Python with the help of code examples.What is Os Module?Python OS module in Python furnishes a versatile means of e...
read more
Python
Python Programs
Picked
python-basics
python-os-module
Importing Multiple Files in Python
Last Updated: 26 March 2024
Here, we have a task to import multiple files from a folder in Python and print the result. In this article, we will see how to import multiple files from a folder in Pyth...
read more
Python
Picked
python-os-module
How to Create a Speech Synthesis System with Python
Last Updated: 20 March 2024
Text-to-speech (TTS) is a fascinating feature that adds a human touch to your Python applications. The gTTS library simplifies the process of incorporating TTS capabilitie...
read more
Python
Python Programs
Picked
python-os-module
Using Python Environment Variables with Python Dotenv
Last Updated: 19 March 2024
Python dotenv is a powerful tool that makes it easy to handle environment variables in Python applications from start to finish. It lets you easily load configuration sett...
read more
Python
Python Programs
Picked
python-os-module
Using Espeak With Os In Python
Last Updated: 29 March 2024
One such tool is eSpeak, a compact open-source TTS synthesizer capable of converting text into spoken words across multiple platforms. When combined with the OS module in ...
read more
Python
Python Programs
Picked
python-os-module
How to Get Windows' Special Folders for Currently Logged-In User Using Python
Last Updated: 03 October 2024
Accessing Windows' special folders is a common task faced by most of the developers. A special folder is referred to some predefined directories which is used to store spe...
read more
Python
Picked
python-os-module
Windows 10 Tricks
Get OS name and version in Python
Last Updated: 30 December 2024
Python programming has several modules that can be used to retrieve information about the current operating system and the version that is running on the system. In this a...
read more
Python
Picked
python-utility
python-os-module
1
2
3
4
...
15
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !