Package Bio :: Package Medline
[hide private]
[frames] | no frames]

Package Medline

source code

This module provides code to work with Medline.

Classes: Record A dictionary holding Medline data.

Functions: read Reads one Medline record parse Allows you to iterate over a bunch of Medline records

Classes [hide private]
  Record
A dictionary holding information from a Medline record.
Functions [hide private]
 
parse(handle)
Read Medline records one by one from the handle.
source code
 
read(handle)
Read a single Medline records from the handle.
source code
Variables [hide private]
  __package__ = None
hash(x)
Function Details [hide private]

parse(handle)

source code 
Read Medline records one by one from the handle.

The handle is either is a Medline file, a file-like object, or a list
of lines describing one or more Medline records.

Typical usage:

    from Bio import Medline
    handle = open("mymedlinefile")
    records = Medline.parse(handle)
    for record in record:
        print record['TI']

read(handle)

source code 
Read a single Medline records from the handle.

The handle is either is a Medline file, a file-like object, or a list
of lines describing a Medline record.

Typical usage:

    from Bio import Medline
    handle = open("mymedlinefile")
    record = Medline.read(handle)
    print record['TI']