jsonForDumb.py
This commit is contained in:
1 parent
931d7eecba
commit
1f06de1971
2 files changed
+35
-21
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import json
|
||||
|
||||
with open("jsontest", "w", encoding="utf-8") as f:
|
||||
json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
|
||||
f.write(json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}]))
|
||||
Reference in new issue
Block a user