Skip to content

Instantly share code, notes, and snippets.

@edsu
Created June 18, 2010 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edsu/443783 to your computer and use it in GitHub Desktop.
Save edsu/443783 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import pymarc
for record in pymarc.MARCReader(open('marc.dat')):
print record['245']['a']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment