A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixB.stx#2-117
---------------
A File is a Zope object that contains file content. A File object
can be used to upload or download file information with Zope.
% Anonymous User - Nov. 26, 2003 4:08 am:
What properties do files have?
How do you access the most recent modification time of a file using a Python Script?
(You've explained earlier how to do it with dtml using bobobase_modification_time, but for some reason the
following doesn't work with python:
return context.file.boboso_modification_time
% Anonymous User - Nov. 26, 2003 4:08 am:
What properties do files have?
How do you access the most recent modification time of a file using a Python Script?
(You've explained earlier how to do it with dtml using bobobase_modification_time, but for some reason the
following doesn't work with python:
return context.file.bobobase_modification_time
% Anonymous User - Dec. 15, 2003 11:33 pm:
try this:
return context.file.bobobase_modification_time()
bobobase_modification_time() is a method, not a data attribute.
It should be clearly described here somewhere, but AFAICT it is not.
_______________________________________________
ZDP maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.