Most efficient way to write data out to a text file?

Erv Young res04ft9 at gte.net
Sat Jun 29 03:43:36 EDT 2002


At 02:42 AM 6/29/2002 +0000, candiazoo at attbi.com wrote:
>Again, thank you for all of your input!  I was able to double the speed with
>only a few, minor changes.  It seems like the biggest change came when (and I
>don't know why) I was selective in importing my os, time and sys routines
>(asctime() in particular?!).  I also localized some class/function calls, used
>format strings instead of appending strings, etc.

Mike, if it would not be too much trouble, for the edifications of newbies 
like me, could you post your complete code in its before and after states, 
so we could see the matters that have been discussed, in context?

Thanks.

--Erv






More information about the Python-list mailing list