[Tutor] Newline issues

boB Stepp robertvstepp at gmail.com
Mon May 11 17:11:41 EDT 2020


On Mon, May 11, 2020 at 02:05:07PM -0700, Alex Kleider wrote:
> On Mon, May 11, 2020 at 01:36:35PM -0500, boB Stepp wrote:
> > My end goal:  Get my Google contacts into Mutt.
> > 
> > My process so far:  Export contacts from Google Contacts as a vCard file.
> 
> Why vCard? Why not csv? Then you can use the csv module and
> specifically DictReader.

Using the VObject library, which is designed to parse vCard and iCalendar
formats, I already will have direct access to all attributes I am
interested in.  It should make it quite trivial to map vCard attributes to
standard and the custom fields I mean to create in abook's addressbook
format, which is a very straightforward and simple format.

-- 
Wishing you only the best,

boB Stepp


More information about the Tutor mailing list