Table of Contents

Class: Iterator Bio/SCOP/Lin.py

Iterates over a LIN file.

Methods: next Retrieve the next LIN record.

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

__init__(self, handle, parser=None)

Create an object that iterates over a lin file. 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 )

S.next() -> obj or None

Exceptions   
SyntaxError, "I don't see a record:\n%s" % line

Table of Contents

This document was automatically generated on Sat Jul 7 09:49:56 2001 by HappyDoc version r1_5