tlpipe.kiyopy.parse_ini.write_params¶
-
tlpipe.kiyopy.parse_ini.
write_params
(params, file_name, prefix='', mode='w')[source]¶ Write a parameter dictionary to file.
Given a dictionary of parameters, such as one of the ones read br the parse function, this program writes a compatible ini file.
This should work if the parameters are built in types, but no promises for other types. Basically if the out put of ‘print param’ looks like it could go on the rhs of the assignment operator, you are in good shape.
Parameters: