Python & SQL BibleChapter 225

File Handling

Section 5 of 6-~ 12 min read-Synced from Cuantum content
# Write a filewith open("myfile.txt", "w") as file:    file.write("Hello, World!") # Read a filewith open("myfile.txt", "r") as file:    print(file.read())