Package Bio :: Package Prosite :: Module Prodoc :: Class Dictionary
[show private | hide private]
[frames | no frames]

Class Dictionary


Accesses a Prodoc file using a dictionary interface.
Method Summary
  __init__(self, indexname, parser)
__init__(self, indexname, parser=None)
  __getattr__(self, name)
  __getitem__(self, key)
  __len__(self)

Class Variable Summary
str _Dictionary__filename_key = '__filename'

Method Details

__init__(self, indexname, parser=None)
(Constructor)

__init__(self, indexname, parser=None)

Open a Prodoc Dictionary. indexname is the name of the index for the dictionary. The index should have been created using the index_file function. parser is an optional Parser object to change the results into another form. If set to None, then the raw contents of the file will be returned.

Class Variable Details

_Dictionary__filename_key

Type:
str
Value:
'__filename'                                                           

Generated by Epydoc 2.1 on Thu Aug 10 20:05:37 2006 http://epydoc.sf.net