[Zope] Write the time to a text file
Dieter Maurer
dieter at handshake.de
Wed Oct 29 15:18:20 EST 2003
Florian Lindner wrote at 2003-10-28 19:44 +0100:
> from a python script I want to write a new line containing the current time to
> a text file. The textfile is contained in the ZODB.
> How can I do that?
Use an "External Method".
While it would be possible to make the built in "open"
available to PythonScripts (you would read "README.txt" in
"PythonScripts" for this -- an FAQ -- even you yourself
were already pointed to it), it woule be a *really* bad idea.
--
Dieter
More information about the Zope
mailing list