参考
Saves the file and closes the print stream.
clear
Clears all data from the print stream.
close
print
Writes data to the print stream with new lines added.
write
Writes data to the print stream without adding new lines.