Amazing-Python-Scripts

Форк
0

README.md

File Search

This Python script allows you to search for files with a specific extension in a directory. It recursively searches through all subdirectories of the specified directory and returns a list of files that match the provided file extension.

Setup instructions

  1. Clone the repository or download the file_search.py file.

  2. Open a terminal or command prompt and navigate to the directory where file_search.py is located.

  3. Run the script by executing the following command: python File_Search.py

  4. Follow the prompts to enter the directory to search and the file extension to search for.

Output

The script will search for files with the specified extension and display their paths. If no files are found, it will display a message indicating that no files were found.

Author(s)

Srujana

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.