I want to save parameters from a program that I am running to a separate text file, while the program is in progress.
For example, if my program defines (ycent,xcent)=(10,10) I want a text file to be created that writes
"(ycent,xcent)=(10,10)" on the first line.
I want to be able to keep adding data like this to the file, while the program is still running.
Does anyone know how to do something like this?
Thank you in advance for your replies!