VOOZH
about
URL: https://www.geeksforgeeks.org/tag/python-os-file-module/
⇱ Python OS-file-module Archives - GeeksforGeeks
👁 geeksforgeeks
Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
Python Programs
3.7K+ articles
python-os-module
224+ articles
python-file-handling
124+ articles
Python file-handling-programs
82+ articles
Python os-module-programs
28+ articles
Python: Check if a directory is empty
Last Updated: 21 November 2025
Checking whether a directory is empty is a common file-system operation in Python. The os module provides multiple ways to do this. The most efficient approach is using os...
read more
Python
python-file-handling
Python OS-file-module
Python file-handling-programs
Python os-module-programs
Rename all file names in your directory using Python
Last Updated: 11 July 2025
Given multiple files in a directory having different names, the task is to rename all those files in sorted order. We can use OS module in order to do this operation. The ...
read more
👁 article_image
Python
Python Programs
python-os-module
Python OS-file-module
Python os-module-programs