Re: [Zope] Product event when zope restarts
10 May
2001
10 May
'01
2:47 p.m.
Have you looked at the ExtFile object?
cheers,
Chris Yes. As I wrote, the product BASICALLY does this. Actually it reads the file, parses it and shows it's contents in the properties tab. When I write something like <dtml-var "myProduct.property1"> then I can access a part of the file.
Can't you use os.path.getmtime('path_to_file') to get the modification time of the file and reparse and reinsert it only if getmtime >= old_getmtime? cheers, oliver
9097
Age (days ago)
9097
Last active (days ago)
0 comments
1 participants
participants (1)
-
Oliver Bleutgen