Created
April 12, 2017 12:38
-
-
Save Wooble/bf45630cc63ae4d9bd7e9795906a919a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import csv | |
from pymarc import MARCReader | |
fin = open('./001000.mrc', 'rb').read() | |
reader = MARCReader(fin) | |
for idx, record in enumerate(reader): | |
print(idx, record.title()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment