Releases: siv-the-programmer/Python_projects_lab
V1.0.1
This version introduces a more interactive and resilient file-search workflow designed for repeated use without restarting the script.
The program now runs in a continuous loop, allowing multiple searches in a single session. Instead of exiting after one scan, the user can immediately search again, clear the screen, or terminate the program using simple commands. This turns the script from a one-off utility into a lightweight terminal tool.
The search logic still performs a brute-force recursive scan using pathlib, but the user experience has been expanded. Clear instructions are printed at startup, including built-in commands for exiting the program or clearing the console. This makes the tool more usable during long or repeated searches.
Input validation has been added to prevent unnecessary scans. If the user enters a filename without a valid extension, the script immediately stops the scan, clears the screen, and prompts for correct input again. This protects performance and avoids wasted traversal through the file system.
Progress feedback remains a core feature. The script tracks how many files and directories have been scanned and reports progress every 1000 items. This provides visibility during large directory searches and reinforces the idea of controlled, observable execution rather than silent processing.
Exit handling has been improved. The user can terminate the program at any time by typing exit, even before a scan completes. Screen clearing can also be triggered on demand using cls, keeping output readable during repeated searches.
Overall, this version shifts the script from a simple file finder into a persistent, interactive terminal utility. It emphasizes control flow, user input handling, and execution awareness while maintaining a clear, brute-force search strategy.
File searcher v1
Merge pull request #2 from siv-the-programmer/weedbranch updated