Back to index

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

Classes

class  Record

Functions

def parse

Function Documentation

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

Arguments:
    handle -- file-like object

Definition at line 81 of file Des.py.

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