On 2006-08-05, Fabian Braennstroem <[EMAIL PROTECTED]> wrote: > Hi, > > I want to get access to my abook address file with python. > Does anyone have some python lines to achive this using > curses? If not, maybe anybody has small python program doing > it with a gui!?
You can just parse the abook addressbook with the ConfigParser, try this: import os from ConfigParser import * abook = ConfigParser() abook.read(os.environ["HOME"] + "/.abook/addressbook") for s in abook.sections(): print abook.items(s) -- http://mail.python.org/mailman/listinfo/python-list