Skip to content

varunvd/Search

Repository files navigation

Search

Search is the most important tool for end users in order to manage their files. This is a simple Python Program implementing search along with various options.

Search

Search is the most important tool for end users in order perform a search operation in the file hierarchy. This is a simple Python Program implementing search along with various options.

How to use it: The program main_program.py should be executed using the 'python main_program.py' command. After running the command it will display the menu and ask you to enter the option.

What will it do 1)It will search the contents of the file in the current directory. For example if you enter the string as Hello the searchit file in the above project has the content hello so that particular file name will be displayed.

2)This option will compile all the C program in the current directory and create executables for it. For example there are two C files named a.c and b.c , b.c has error in it so when you choose the second option an executable named 'a' will be created (to run ./a) since there is an error in b a file named error_b will be created.

3)This searches the file in the directory.

4)This will ask you for your filename and pattern to be counted.For example if you give the filename as 'counting' and pattern as 'this' it will return the value as 4 because there are four 'this' in counting

5)This will ask for username and password an object file of this can be created later for better presentation. Once you login it will ask you to enter the name of the encrypted file in this case it is mix_imp. The files can be encrypted using code.py. After giving the filename it will ask you for the pattern if the pattern is right the contents will be displayed otherwise it will not be displayed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published