Message208791
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. |
|
| 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 | |
|