Re: Making a file-like object for manipulating a large file

2007-08-26 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Sean Davis wrote: > I have a VERY large file that I would > like to load a line at a time, do some manipulations on it, and then > make it available to as a file-like object for use as input to a > database module (psycopg2) that wants a file-like object (with read

Re: Making a file-like object for manipulating a large file

2007-08-23 Thread Steve Holden
Sean Davis wrote: > This should be a relatively simple problem, but I haven't quite got > the idea of how to go about it. I have a VERY large file that I would > like to load a line at a time, do some manipulations on it, and then > make it available to as a file-like object for use as input to a