Python read file. How to create a text file by python.