[SciPy-User] numpy I/O question

Yury V. Zaytsev yury at shurup.com
Sun Jan 2 10:59:11 EST 2011


On Sun, 2011-01-02 at 18:51 +0300, Matwey V. Kornilov wrote:
> 
> I will be asked 'why should we use python which even can't parse as good as 
> c++ does?' `sed` isn't a solution.

How big are these files in question? 

Why can't you just load them in memory and do the replacement before
feeding them into NumPy if you don't want to pre-process files
beforehand? This is just 2-3 lines of code.
 
-- 
Sincerely yours,
Yury V. Zaytsev




More information about the SciPy-User mailing list