Table of Contents

Class: Iterator Bio/Medline/__init__.py

Returns one record at a time from a file of Medline records.

Methods: next Return the next record from the stream, or None.

Methods   
__init__
next
  __init__ 
__init__ (
        self,
        handle,
        parser=None,
        )

__init__(self, handle, parser=None)

Create a new iterator. handle is a file-like object. 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.

Exceptions   
ValueError, "I expected a file handle or file-like object"
  next 
next ( self )

next(self) -> object

Return the next medline record from the file. If no more records, return None.


Table of Contents

This document was automatically generated on Mon Jul 1 12:02:51 2002 by HappyDoc version 2.0.1