Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: python application file format

Reply
Thread Tools

Re: python application file format

 
 
Dieter Maurer
Guest
Posts: n/a
 
      09-27-2012
Benjamin Jessup <> writes:

> ...
> What do people recommend for a file format for a python desktop
> application? Data is complex with 100s/1000s of class instances, which
> reference each other.
>
> ...
> Use cPickle with a module/class whitelist? (Can't easily port, not
> entirely safe, compact enough, expandable)


This is the approach used by the ZODB (Zope Object DataBase).

I like the ZODB. It is really quite easy to get data persisted.
It uses an elaborate caching scheme to speed up database interaction
and has transaction control to ensure persistent data consistency
in case of errors.

Maybe not so relevant in your context, it does not require
locking to safely access persistent data in a multi thread environment.

> ...


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: [python-list] python application file format Prasad, Ramit Python 2 09-29-2012 01:35 PM
[python-list] python application file format Benjamin Jessup Python 2 09-26-2012 01:01 PM
Splitting a multirecord per file format to a single record per file format: Right approach? Randy Kramer Ruby 2 01-12-2007 06:46 PM
print dos format file into unix format PengYu.UT@gmail.com Python 5 10-27-2006 01:56 PM
convert different video format (avi,mpeg,mp4, etc) file to a flash format solomon_13000@yahoo.com C++ 1 09-11-2006 06:15 PM



Advertisments