def saves():
global i
with open("data.txt", 'w') as out_file:
out_file.write(str(i))
out_file.close()
i = "123"
with open("data.txt", 'w') as f:
out_file.write(str(i))
####
with open("data.txt") as f:
i = f.readlines()[0]
data = {
"name" : "RimMirK",
"id" : 148734,
"interval" : 3.5,
"is_answer" : True,
"message" : {
"lines" : [
"hello!",
"I'm RimMirK"
],
"id" : 136,
}
}