added function which parses a rcParams file to py_progs