#!/usr/bin/env python import pyempathy cm = pyempathy.ContactManager() cm.do_setup(cm) for member in cm.get_members(): print member.get_name()