Rick King wrote:
Hi - vw.select( lo, hi ) generates a traceback on my system. The following
is copied from PyShell:

PyShell 0.9.3 - The Flakiest Python Shell
Sponsored by Orbtech - Your source for Python programming expertise.
Python 2.3.1 (#47, Sep 23 2003, 23:47:32) [MSC v.1200 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.

import metakit as mk
st=mk.storage()
vw=st.getas('test[a:I]')
for i in range(10):

... ix=vw.append(a=i) ...

mk.dump(vw)

a - 0 1 2 3 4 5 6 7 8 9 - Total: 10 rows

a=vw.select(2,4)

Traceback (most recent call last): File "<input>", line 1, in ? ValueError: Object has no usable attributes

IIRC this must be vw.select( {'a':2}, {'a':4} )


Niki Spahiev

_____________________________________________
Metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to