view zipfiles/zipfile.py @ 221:d9eb7d958b6d

Added usage of Python 3.3 library additions to the unix module
author Oleg Oshmyan <chortos@inbox.lv>
date Fri, 16 Mar 2012 18:24:56 +0000
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 *