contact Module

This module allows to gather and change information of the contact database.

 

Example:

 

#Finding a number from the contacts
#In this example we are looking for a contact named "mike"
import contacts
db=contacts.open()
entry=db.find(‘mike’)
entry=entry[0]
num=entry.find(‘mobile_number’)
num=num[0].value
print u"The number is: "+num

Department of Electronic Systems | Aalborg University | Niels Jernes Vej 12 | DK-9220 Aalborg | Denmark
Phone: (+45) 9635 8695 | Fax (+45) 9815 1583 | E-mail ies(at)ies.aau.dk
Copyright © 2006 Department of Electronic Systems

Last update:29-09-2006