We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

file.write

write(str)

Write a string to the file. There is no return value. Due to buffering, the string may not actually show up in the file until the file.flush or file.close method is called.