jjgomera/iapws

single quotes & double quotes

Closed this issue · 3 comments

Hi, maybe you should write json with double quotes, not with single quotes.
like this:
{"name":1}
Now like this:
{'name':1}

What file are you talking about?

All file, for example:
>>> from iapws import IAPWS97
>>> steam=IAPWS97(P=50, T=400)
>>> print(steam.kwargs)
{'T': 400, 'P': 50, 'x': None, 'h': None, 's': None, 'v': 0.0, 'l': 0.5893}

and this is right:
{"T": 400, "P": 50, "x“: None, ”h”: None, “s“: None, “v“: 0.0, “l”: 0.5893}

In python both form are correct, furthermore the example you're given is python formated, like:

>>> str(6)
'6'