mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-26 04:45:20 +01:00
notmuch clon
422ba4beca
--HG-- extra : transplant_source : %3F%E9%23%2B%2A%83%06g%10R%CA%CD%27N5%3E%22g%1E%AD |
||
---|---|---|
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