Re: [Zope] Convert absolute path to File object

2008-10-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rishi pathak wrote: 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

[Zope] Convert absolute path to File object

2008-10-16 Thread rishi pathak
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