Back to index

python-biopython  1.60
Classes | Functions
Bio.SCOP.Cla Namespace Reference

Classes

class  Record
class  Index

Functions

def parse

Function Documentation

def Bio.SCOP.Cla.parse (   handle)
Iterates over a CLA file, returning a Cla record for each line
in the file.

Arguments:

    handle -- file-like object.

Definition at line 79 of file Cla.py.

00079 
00080 def parse(handle):
00081     """Iterates over a CLA file, returning a Cla record for each line
00082     in the file.
00083 
00084     Arguments:
00085 
00086         handle -- file-like object.
00087     """
00088     for line in handle:
00089         if line.startswith('#'):
00090             continue
00091         yield Record(line)
00092