Skip to content

Instantly share code, notes, and snippets.

@iwegner
iwegner / vcard-split.py
Last active April 5, 2021 17:36 — forked from johnjohndoe/vcard-split.py
Python script to split Google contacts into individual VCF files.
#!/usr/bin/python3
# original version taken from https://gist.github.com/johnjohndoe/dada51bb886d419334de6fe13ce6d7bb
# Howto:
#* using python 3 call script, specify file name and add fist and last name if asked for.
#split vcf files
import re
import os #for working dir
import quopri # for utf-8 decodin