Mercurial > ~astiob > upreckon > hgweb
view zipfile.py @ 97:bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Wed, 02 Mar 2011 19:00:57 +0000 |
parents | 4ea7133ac25c |
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 *