Package Bio :: Package SwissProt :: Module KeyWList :: Class _Scanner
[hide private]
[frames] | no frames]

Class _Scanner

source code

Scan the keywlist.txt file included with the SwissProt distribution.

Tested with: Release 37 Release 38

Instance Methods [hide private]
 
feed(self, handle, consumer)
Feed in the keywlist.txt file for scanning.
source code
 
_scan_header(self, uhandle, consumer) source code
 
_scan_keywords(self, uhandle, consumer) source code
 
_scan_footer(self, uhandle, consumer) source code
Method Details [hide private]

feed(self, handle, consumer)

source code 

Feed in the keywlist.txt file for scanning. handle is a file-like object that contains keyword information. consumer is a Consumer object that will receive events as the report is scanned.