August 27, 2024, 01:06
py data = { "sample": "some sample message" } with open("./file.json", "w") as outfile: json.dump(data, outfile)for some reason this just does not work, ignore that some stuff is weirdly out of place, it's not like that in the file, it just happened because i copied it over