[Vobject] vcard email & address data

Cristian Rougier cristian at lainfo.com.mx
Thu Aug 20 10:01:17 CDT 2009


Dears how can i do for get the address and email data from a VCF?

 

contiene=f.read(vcarf_file)

 v = vobject.readOne( contiene )

nombre_contacto=str(v.n.value) # This Work fine

 tel_contacto=str(v.tel.value) # This Work fine

 direccion_contacto=str(v.Address.value) # This doesn’t work

 email_contacto=str(v.email.value) # This doesn’t work

 

 

If you please tell me what
 Where I can find the doc of methods to read
data?

 

Thank in advance

Cristian

 

 

 

lainfo(1)
Tecnología y Programación  
 <http://www.lainfo.com.mx/> http://www.lainfo.com.mx 
 <mailto:cristian at lainfo.com.mx> cristian at lainfo.com.mx
Emails muy pesados a:  <mailto:cristianrougier at gmail.com>
cristianrougier at gmail.com 
Tel:(++5255) 8589-1554 / 2452-1030
Movil, Nuevo! : 04455-1770-9888

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.skyhouseconsulting.com/pipermail/vobject/attachments/20090820/6484c22a/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 4663 bytes
Desc: not available
Url : http://lists.skyhouseconsulting.com/pipermail/vobject/attachments/20090820/6484c22a/attachment.gif 


More information about the VObject mailing list