This Python program provides a menu-driven tool for navigating a file system and gathering information about files and directories. Here's a breakdown of its functionality:
Menu Display:
The program displays a menu with options to perform various file system operations:
- List the current directory
- Move up
- Move down
- Number of files in the directory
- Size of the directory in bytes
- Search for a filename
How It Works:
The program starts by displaying the current working directory and the menu.
The user selects a command by entering a number corresponding to the menu options.
Based on the command, the program executes the appropriate function.