Love lasts forever, variables don’t

--Originally published at Just A Turtle Coding.

Owner taught me that variables can be like love… Love can either last for one moment, or forever… and so can variables, but for variables to last over time you have to save them.

How to save variables you might be wondering:

file = open(“newfile.txt”, “w”)
file.write(“hello world in the new file ”) 
file.write(“and another line ”) 
file.close()

These files could use bytes or even gygabytes. There’s lots of ways for reading them tho… but that’s for another post.