Last active
July 12, 2019 09:30
-
-
Save m3tam3re/e65aeb8d6832e3ae14bd1875f0ea4d5b to your computer and use it in GitHub Desktop.
JSON Basics in Python 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json ... | |
my_dict = {'Kopfknoten': {'Knoten1':'mein Knoten 1', 'Knoten2': 'mein Knoten 2', 'Knoten3': 'mein Knoten 3'}} | |
json_dict = json.dumps(my_dict, indent=4) | |
print(json_dict) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment