I\'m new to python scripting. And this is my first python script. I am trying to automate some parts of my work. I have a INP file which is text-like (but not .txt file) and