Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
dict_content = {'04.00.15/FT': {'days': {'Wednesday': [{'summary': 'summary text', 'begin': '08:00', 'end': '11:00'}, {'summary': 'summary text', 'begin': '13:30', 'end': '16:30'}], 'Tuesday': [{'summary': 'summary text', 'begin': '08:00', 'end': '11:00'}], 'Monday': [{'summary': 'summary text', 'begin': '08:00', 'end': '11:00'}], 'Thursday': [{'summary': 'summary text', 'begin': '15:15', 'end': '18:15'}]}}}
file_content = {"04.00.15/FT": {"days": {"Wednesday": [{"summary": "summary text", "begin": "08:00", "end": "11:00"}, {"summary": "summary text", "begin": "13:30", "end": "16:30"}], "Tuesday": [{"summary": "summary text", "begin": "08:00", "end": "11:00"}], "Monday": [{"summary": "summary text", "begin": "08:00", "end": "11:00"}], "Thursday": [{"summary": "summary text", "begin": "15:15", "end": "18:15"}]}}}
print(dict_content == file_content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment