5,337
edits
(→Syntax) |
|||
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> | ||