view zipfiles/zipfile.py @ 211:78be952f6b40

Changed the help message to say Python 2.6 is required Change back when full Python 2.5 support is implemented.
author Oleg Oshmyan <chortos@inbox.lv>
date Thu, 18 Aug 2011 15:31:17 +0300
parents 45d4a9dc707b
children
line wrap: on
line source

import sys
if sys.version_info[0] >= 3:
	if sys.version_info[1] >= 2:
		from zipfile32 import *
	else:
		from zipfile31 import *
else:
	if sys.version_info[0] == 2 and sys.version_info[1] >= 7:
		from zipfile27 import *
	else:
		from zipfile26 import *