How to use? Move your txt file to the folder with the python script to use it. Then, open the command line and make sure that python is installed in your system and the PATH option was selected during the installation. If not, add the python path to the Environment Variables.
After these actions, run the python script with following command: [py script.py or python3 script.py], enter the name of the .txt file with its extension, and enjoy the result.
script.py is created to remove all 'z' characters in a .txt file. script2.py is created to remove all 'z' characters in conditions of the expression 'd=' in a .txt file.