Python: Difference between revisions

201 bytes added ,  26 February 2020
Line 267: Line 267:
# Change version of Python
# Change version of Python
conda install python=3.6
conda install python=3.6
</syntaxhighlight>
==JSON==
[https://docs.python.org/3/library/json.html Documentation]
<syntaxhighlight lang="python">
import json
# Encode/Stringify
json.dumps({})
# Decode/Parse
json.loads("{}")
</syntaxhighlight>
</syntaxhighlight>