Parsing file and Searching the dialogues in file.
- Windows 10 Pro
- Python 3.7
- Python Standard Libraries used
- re - regulr expression
- sys - for passing command line arguments
- Intel® Core™ i7-8565U CPU @ 1.80GHz RAM-8.0GB, Cache: L1-256 KB, L2-1.0 MB, L3-8.0 MB
- SSD, 512 GB
- Install spyder
sudo apt-get install spyder3
$ python Code.py
* DIALOG : python3 temp.py sh.txt
* DIALOG SEARCH : python3 temp.py sh.txt 'know me' 1
The code is made such that it will run in bash or cmd only. The code uses KMP.
- Kushal Batra
- Sanchit Gupta