Skip to content

Instantly share code, notes, and snippets.

@tchollingsworth
Created November 27, 2011 02:28
Show Gist options
  • Save tchollingsworth/1396830 to your computer and use it in GitHub Desktop.
Save tchollingsworth/1396830 to your computer and use it in GitHub Desktop.
read a bunch of vcard files
#!/usr/bin/python
import sys, vobject
for filename in sys.argv[1:]:
with open(filename) as fh:
print filename, ":"
vobject.readOne(fh).prettyPrint()
print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment