Hi,
I am writing a program that will take several days to execute :) and would
like to append to a log file but be able to open that file at any time and
see the errors that have occured.
So this is what I am doing:
--
flog = open('out.log', 'a')
On May 30, 1:03 pm, Karim Ali [EMAIL PROTECTED] wrote:
Hi,
I am writing a program that will take several days to execute :) and would
like to append to a log file but be able to open that file at any time and
see the errors that have occured.
So this is what I am doing:
On 2007-05-30, Karim Ali [EMAIL PROTECTED] wrote:
Hi,
I am writing a program that will take several days to execute :) and would
like to append to a log file but be able to open that file at any time and
see the errors that have occured.
So this is what I am doing:
Karim Ali schrieb:
Hi,
I am writing a program that will take several days to execute :) and
would like to append to a log file but be able to open that file at any
time and see the errors that have occured.
So this is what I am doing:
--
On May 30, 1:29 pm, Matteo [EMAIL PROTECTED] wrote:
- Write an autoflush class:
class AutoFlush:
def __init__(self, stream):
self.stream = stream
def write(self, text):
self.stream.write(text)
self.stream.flush()
...
flog=open('out.log','a')
Diez B. Roggisch wrote:
Karim Ali schrieb:
[...]
install cygwin bash, and use
tail out.log
I think Diez meant
tail -f out.log
regards
Steve
--
Steve Holden+1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb
Steve Holden schrieb:
Diez B. Roggisch wrote:
Karim Ali schrieb:
[...]
install cygwin bash, and use
tail out.log
I think Diez meant
tail -f out.log
I did. Thanks.
diez
--
http://mail.python.org/mailman/listinfo/python-list