How To Create A Text Document In Python