I am trying to process a large text file. I would like to include parameters at some places in the file. Run it through python and write out the "processed" file with the values of the parameters in the new file.
Example: original file:
Run python with param1=3: Gives new file with
Is this possible? The original text file will be around 100Mb and have maybe 100 parameters.
Any ideas how to do this in python?