On Tue, 25 Jul 2000, [EMAIL PROTECTED] wrote:
> Hi,
>
> I want to develop an external program that can store and retrieve
> an Object (such as a Person) in the ZoDB
> I tried the example that I found in the How to's but it doesn't works ....
> In fact, I have the following message :
> ZODB.FileStorage(file)
> attribute Error : FileStorage
>
> -->But I have imported ZODB
>
> And, when I try to import ZODB.FileStorage : the program stops with the
> following message :
> TypeError : call of non-function type
>
> what's wrong ?
>
> did Anybody have an example like this... ?
> Can anybody help me ?
>
Start by doing this:
import ZODB.FileStorage
ref = ZODB.FileStorage.FileStorage('YourData.fs')
and take it from here...
--
"Sometimes I think the surest sign that intelligent life exists elsewhere
in the Universe is that none of it has tried to contact us."
Carlos Neves
[EMAIL PROTECTED]
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )