I have a .csv file inside file1 which is of extension .gz. When we use Gzip to open a file it can be opened in Text mode for python 3 and Binary mode in Python 2. How to reconci