jsonForDumb.py

This commit is contained in:
mega_krevetka committed 2026-04-16 16:25:01 +03:00
1 parent 931d7eecba
commit 1f06de1971
2 files changed
+35 -21

No files matched your search

+1 -1
View File
@@ -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)}]))