How to correctly write files with python Saving complicated files with Python can quickly become a pain, and reading the files can be just as difficult. This unnecessarily introduces opportunities for mistakes in your code and can be very time consuming. To see how you should be saving and reading files with Python check out the video below or here.