usr bin env python coding utf8 from zipfile import ZipFile from dateti

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#!/usr/bin/env python
#-*- coding: utf8 -*-
from zipfile import ZipFile
from datetime import datetime
_resources = ZipFile("resources.res")
_resources.setpassword("AhyMcHBqpHM9cj")
d1 = datetime.now()
_f = _resources.read("test")
d2 = datetime.now()
print d2 - d1