Build a file search engine using Python to add to your portfolio, or if you're like me, to make your life a lot easier by speeding up your file search. In this video I walk you through three simple steps: (1) building the search engine class, (2) building the gui class, and (3) putting it all together by connecting the gui to the search engine code. This project uses the os.walk() function to index the file directory, and the PySimpleGUI package to build a very nice looking user interface for the application.
See a live demo on Trinket: https://israel-dryer.trinket.io/sites...
Link to code on GitHub: https://github.com/israel-dryer/File-...
Documentation for os.walk(): https://docs.python.org/3/library/os....
Documentation for PySimpleGUI: https://pysimplegui.readthedocs.io/en...
In this video:
01:14 | outline search engine class
03:25 | complete search engine class
09:25 | test search engine class
11:51 | build gui class
19:44 | overview of event loop
23:40 | transfer variables
26:12 | build main event loop function
28:19 | final test and demonstration