/[hyperestraier_wrappers]/trunk/examples/dbinfo.py
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/examples/dbinfo.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Sat Sep 3 18:04:41 2005 UTC (16 years, 2 months ago) by dpavlin
File MIME type: text/x-python
File size: 233 byte(s)
make working copy
1 import HyperEstraier
2
3 db = HyperEstraier.Database()
4 db.open('/tmp/casket', HyperEstraier.Database.DBREADER)
5
6 print 'db name: ', db.name()
7 print 'doc num: ', db.doc_num()
8 print 'word num: ', db.word_num()
9 print 'size: ', db.size()

  ViewVC Help
Powered by ViewVC 1.1.26