added zip support to python class