[Zope] Convert absolute path to File object

rishi pathak mailmaverick666 at gmail.com
Thu Oct 16 05:08:59 EDT 2008


In a script python I need to a read a File stored in ZODB at some location.
In the said script I only have
absolute path of File object as string for e.g. '/path/to/file/object'

The only way seems is to convert path string so that it can be accessed
using container.path.to.file.object.data

Can anyone suggest a method to do so.



-- 
Regards--
Rishi Pathak
Pune-Maharastra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20081016/31d27aec/attachment.html 


More information about the Zope mailing list