Re: Re[6]: [Metakit] newbie question - writing derived view back to db

2005-01-19 Thread Jean-Claude Wippler
Marcin Krol wrote: Geez, Brian, you're a wizard! I agree 100%. After syncing: 23.08 [...] Thanks for the help, Brian, now I have to go away to munch on all that. Now that you have these results: what file sizes do you see across the different DB's? (It might also be interesting to compare

Re: Re[2]: [Metakit] newbie question - writing derived view back to db

2005-01-19 Thread Jean-Claude Wippler
Marcin Krol wrote: BK vw2 = st.getas(test_save[a:i,b:s]) [...] However, there's another silly problem here remaining: how to delete the old view 'test' from the db and rename 'test_save' to 'test'? Try: st.getas(test_save) (note the absence of brackets and fields) As for renaming, you'll

Re[8]: [Metakit] newbie question - writing derived view back to db

2005-01-19 Thread Marcin Krol
Hello Jean-Claude, Geez, Brian, you're a wizard! JCW I agree 100%. Err, I have to admit I made this mistake - I have many versions of this data file and in the last MK test I used the one that was half as big as previously. Still, Brian's version of my Python/MK script has came ahead of BSDDB

Re[6]: [Metakit] newbie question - writing derived view back to db

2005-01-19 Thread Marcin Krol
Hello Brian, BK You are, of course, free to implement this functionality, python is BK very dynamic in this regard, but should this throw an exception if the BK key doesn't exist like a dictionary? I think it could return an empty list. Dict keys have to be unique, while here actual values from