Created
November 27, 2011 02:28
-
-
Save tchollingsworth/1396830 to your computer and use it in GitHub Desktop.
read a bunch of vcard files
This file contains 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/python | |
import sys, vobject | |
for filename in sys.argv[1:]: | |
with open(filename) as fh: | |
print filename, ":" | |
vobject.readOne(fh).prettyPrint() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment