how to export data from ZODB to text files

ls l.serwatka at gazeta-dot-pl.no-spam.invalid
Tue Jun 7 16:48:34 CEST 2005


Hi Peter,

Thank you for your reply. I already can access file using code


      >>> from ZODB import FileStorage, DB
      >>> storage =
FileStorage.FileStorage('mydatabase.fs')
      >>> db = DB(storage)
      >>> connection = db.open()
      >>> root = connection.root()


But this is the point where my konwledge ends since I`m not a Python
programmer. 

I don`t know what is the structure of ZODB, I`m just looking for code,
or some tool, which I can use to export data from Data.ts file to
plain text file. 

I`m looking for easiest way to export data from ZODB and put it to
MySQL later. 

Do you know what way I should choose? I have to know Python language
to finish this task?

-- 
Lukasz




More information about the Python-list mailing list