print("creating a document named write.txt, writing something there, and closing this example") file_f=io.open("write.txt","w") file_f:write("Hello, World!!!") file_f:close()