[Vobject] Creating a vcard with multiple addresses

Jonathan Kaczynski jmkacz at gmail.com
Wed Jan 7 15:12:29 CST 2009


Thanks, Jeffrey!

I also wanted to set some parameters on the component. The following seems
to work for me now.

adr = v.add('adr')
adr.value = vobject.vcard.Address( street='123 Main Street' )
adr.type_paramlist = ['work', 'pref']

adr = v.add('adr')
adr.value = vobject.vcard.Address( street='1313 Mockingbird Lane' )
adr.type_param = 'home'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.skyhouseconsulting.com/pipermail/vobject/attachments/20090107/51a5302e/attachment.htm 


More information about the VObject mailing list