8 Oct
2005
8 Oct
'05
10:24 a.m.
Brian Sullivan wrote at 2005-10-7 11:42 -0400:
I am looking for a simple strategy to write a debug log file from a python script.
In an External Method (trusted code), you can write files as usual in Python. An elementary log function could be: def log(msg): open(LOGFILE, "a").write(msg) You cannot use "open" in untrusted code (for obvious reasons). -- Dieter