Jppy: Announce: 0.0.35, with vcard photos

Nicholas Piper nick at nickpiper.co.uk
Tue Jan 16 17:04:44 GMT 2007


Hi,

I just got a Nokia N73 phone, so added support to the jppy
contact.vcard() function to write out photos that are in the palm
Contacts database.

This is in version 0.0.35 now (recommend build from source, until you
hear otherwise.)

I used this Python script to make a bunch of vcard files, then sent
them to the phone:

import jppy
for r in  jppy.addressBook().records(search="Technical E"):
    print r
    open("/tmp/%s.vcf" % r['lastname'],'w').write(r.vcard())

(although better would be to use r.unique_id in the filename, maybe.)

 Nick

-- 
Nick Piper, Developer, LogicaCMG           http://www.nickpiper.co.uk/
GPG Encrypted mail welcome!                             1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty & suffering !




More information about the Jppy mailing list