How to Write to a Text File using Python

How to Write to a Text File using Python