mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 18:04:52 +01:00
notmuch clon
bb5870b9af
--HG-- extra : transplant_source : %BAn%2B%93B%1EkU8%A6-I%5D%E1%E4%2B%D6E%0C%F5 |
||
---|---|---|
cnotmuch | ||
docs | ||
.hgignore | ||
notmuch | ||
README |
>>>from cnotmuch import notmuch >>>db = notmuch.Database("/home/spaetz/mail") db.get_path() '/home/spaetz/mail' >>>tags = db.get_all_tags() inited tags with 44762960 'Notmuch DB /home/spaetz/mail' >>>for tag in tags: >>> print tag inbox ... maildir::draft Freeing the Tags now #--------------------------------------------- >>>db = notmuch.Database("/home/spaetz/mailHAHA") NotmuchError: Could not open the specified database #--------------------------------------------- >>>tags = notmuch.Database("/home/spaetz/mail").get_all_tags() >>>del(tags) Freeing the Tags now Freeing the database now