Ushr interview question

Q: How would you create a text file in Python?