4.7.2.1.1. statsmodels.tools.compatibility.getZipFile

statsmodels.tools.compatibility.getZipFile()[source]

return ZipFile class with open method for python < 2.6

for python < 2.6, the open method returns a StringIO file_like

Examples

ZipFile = getZipFile() ...

not fully tested yet written for pyecon