[Vobject] reading vCard extracting type_param
Lars Immisch
lars at ibp.de
Fri Apr 11 16:02:55 CDT 2008
Hi,
> One more question in this terrain - how do I reference the type_param
> value of a vCard I have just read?
>
>
>
> In the actual vCard file I can see the tel: cell; 555-5555 lines as well
> as the mobile, work, etc., but from every angle that I can see of the
> vCard read via vObject, it doesn’t seem if that data has been derived.
>
>
>
> In other words, I can reference each individual number of the tel
> component, but cannot determine which it is.
for t in vc.tel_list:
print t.value, t.params.get('TYPE', None)
Is that what you are looking for?
- Lars
More information about the VObject
mailing list