mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
notmuch clon
d099b79fd1
--HG-- extra : transplant_source : %E2I%C6%0A%05%3B%F3%27%07%96%DC%D6%91%C3%FA%8E%1B%5B%2B%3D |
||
---|---|---|
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