clinton lee taylor slanqeyapwwgqhdjgmailcom greetings completeness thought would post final test dumping people windows address book wab fax number please understand im beginner python laughing im sure could quite bit error checking like outlook dumps dont quite understand yet traps things like almost slapped could find switch statement multiple things create class swish straight top head okay im using open source lgpl project called wabaccess httpwabaccesssourceforgenet three files create exe file still working making quite test see else im missing single click exe dlls stuff inside come much later first file wab01py import win32comclient win32comclientgencacheis_readonly true allow gencache create cached wrapper objects win32comclientgencacheis_readonly false p2exe call gencache __init__ happen use rebuild force creation gen_py folder win32comclientgencacherebuild nb must ensure pythonwin32comclientgen_py dir exist allow creation cache temp win32comclientgencache import ensuredispatch win32comclient import constants objsession ensuredispatchwabaccesssession bfordemand0 print objsession open wab identity identity already open identity manager launch prompt user choose indentity objsessionopentrue wab open without identity objsessionopenfalse objsessionidentitieslastidentity 00000000000000000000000000000000 print identity selected else print identity objsessionidentitiesobjsessionidentitieslastidentityname selected print objsessionidentitiesdefaultidentity print objsessionidentitiescount print objsessioncontainerscount ocontu objsessioncontainers oitem ocontuelements ocontp oitemproperties ocontpid constantswabpr_primary_fax_number print oitemname print primary fax ocontpvalue elif ocontpid constantswabpr_business_fax_number print oitemname print business fax ocontpvalue elif ocontpid constantswabpr_home_fax_number print oitemname print home fax ocontpvalue objsessionrefresh objsessionclose print done second file setuppy distutilscore import setup import py2exe setupconsolewab01py last file maketestbat echo rem per following webpage rem httpwwwpy2exeorgindexcgiusingensuredispatch rem rem rename gen_py something else running setup rem echo rename gen_py org ren cpython24libsitepackageswin32comgen_py cpython24libsitepackageswin32comgen_pyorg cpython24python wab01py pause cpython24python setuppy install pause cpython24python setuppy py2exe pause rem rename gen_pyorg back gen_py echo rename gen_pyorg back ren cpython24libsitepackageswin32comgen_pyorg cpython24libsitepackageswin32comgen_py hope helps anybody else might looking similar code start thanks mailed leet _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 wed 06 aug 2008 112744 0200 pythonwin32 windows address book example