File IO question.

Scott David Daniels Scott.Daniels at Acm.Org
Sat Jul 17 16:02:06 EDT 2004


J Poirier wrote:
> A test application, which produces a trace file, is
> being run for very long periods of time. Say 72 hours
> or more. 

If the test application is a python app, you coud always replace
the appropriate
     open('name', 'w')
with
     bz2.BZ2File('name.bz2', 'w')



More information about the Python-list mailing list