I use a .py file with various input parameters to run a model. I need to save and log these parameters in a .csv for further reference. The .py file has a mixture of string