Files
CoolProp/Web/scripts/coolprop.configuration.py
Matthis Thorade 526cb198a4 autopep8 whitespace (#1613)
* autopep8 whitespace only:

--select="E101,W1,W2"

* revert single file: web2py_online.py

Should this be a .py file at all?

* revert file Tickets/1443.py because the diff looked strange:

maybe there is an encoding problem?

* Rename web2py_online.py to web2py_online.rst
2017-12-12 08:32:38 -07:00

8 lines
301 B
Python

from __future__ import print_function
import CoolProp.CoolProp as CP, json
jj = json.loads(CP.get_config_as_json_string())
with open('../coolprop/configuration_keys.rst.in', 'w') as fp:
for key in sorted(jj.keys()):
fp.write('``' + key + '``: ' + CP.config_key_description(key) + '\n\n')