Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language created by Guido van Rossum. It is ideally designed for rapid prototyping of complex applications. It has interfaces to many OS system calls and libraries and is extensible to C or C++. Many large companies use the Python programming…
Category: Python
Python: List all Files in Directory and Find a string in file name
In this article, you’ll learn about creating a directory, renaming it, list all files in a directory and find if a string is there is in file name. What is Directory? A directory or folder is a collection of files and sub-directories. Python has the os module, which provides a…