should writing Unicode files be so slow

djc slais-www at ucl.ac.uk
Fri Mar 19 13:08:19 CET 2010


Ben Finney wrote:
> djc <slais-www at ucl.ac.uk> writes:
> 
>> I have a simple program to read a text (.csv) file
> 
> Could you please:
> 
> * simplify it further: make a minimal version that demonstrates the
>   difference you're seeing, without any extraneous stuff that doesn't
>   appear to affect the result.
> 
> * make it complete: the code you've shown doesn't do anything except
>   define some functions.
> 
> In other words: please reduce it to a complete, minimal example that we
> can run to see the same behaviour you're seeing.
> 


It is the minimal example. The only thing omited is the opt.parse code that
 calls _file_to_files(infile, outfile_prefix, column, sep):


-- 
David Clark, MSc, PhD.              UCL Centre for Publishing
                                    Gower Str London WCIE 6BT
What sort of web animal are you?
            <https://www.bbc.co.uk/labuk/experiments/webbehaviour>



More information about the Python-list mailing list