Message215443
>> with open(src, 'rb') as f_in:
>> with gzip.open(dst, 'wb') as f_out:
>> shutil.copyfileobj(f_in, f_out)
+1 !!
exactly as fast as my suggestion (with compression and de-compression), but a lot clearer !
Hadn't thought of it. |
|
Date |
User |
Action |
Args |
2014-04-03 12:44:39 | wolma | set | recipients:
+ wolma, methane, docs@python |
2014-04-03 12:44:39 | wolma | set | messageid: <1396529079.15.0.147890465893.issue21146@psf.upfronthosting.co.za> |
2014-04-03 12:44:39 | wolma | link | issue21146 messages |
2014-04-03 12:44:38 | wolma | create | |
|