mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-12 15:38:29 -05:00
* 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
8 lines
301 B
Python
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')
|