Message208791
| Author |
Christian.Pérez |
| Recipients |
Christian.Pérez, serhiy.storchaka |
| Date |
2014年01月22日.12:20:12 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1390393212.88.0.36083566531.issue20343@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
With 2.7.6+ works fine.
Python 2.7.6+ (2.7:c28e07377b03, Jan 22 2014, 12:56:14)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from zipfile import ZipFile
[54979 refs]
>>>
[54979 refs]
>>> with ZipFile("dbNSFP2.0.zip", "r") as zf:
... with zf.open("dbNSFP2.0_variant.chr20", "U") as f:
... count = 0
... for line in f:
... count += 1
...
[55930 refs]
>>> print count
2161277
[55930 refs]
I tested it with Python 3.3 and works fine too. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年01月22日 12:20:12 | Christian.Pérez | set | recipients:
+ Christian.Pérez, serhiy.storchaka |
| 2014年01月22日 12:20:12 | Christian.Pérez | set | messageid: <1390393212.88.0.36083566531.issue20343@psf.upfronthosting.co.za> |
| 2014年01月22日 12:20:12 | Christian.Pérez | link | issue20343 messages |
| 2014年01月22日 12:20:12 | Christian.Pérez | create |
|