Lesson 23: File Handling

file = open("data.txt", "w")
file.write("Hello Python")
file.close()
Next Lesson →