view zipfile.py @ 69:c0f1b87013ad

Fixed a crash on Python 3 on POSIX
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 03 Jan 2011 01:07:02 +0200
parents 4ea7133ac25c
children bbf9c434fa57
line wrap: on
line source

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