notmuch/README
Sebastian Spaeth b4fdf0ae30 initial revision. See README for what works
--HG--
extra : transplant_source : %FBQ%B3%C5%0E%85%E8%0B%154%F5t%19%2A%C6p%A5%1Dd%F1
2010-03-15 15:47:15 +01:00

18 lines
No EOL
480 B
Text

>>>from cnotmuch import notmuch
>>>db = notmuch.Database("/home/spaetz/mail")
>>>db.get_path()
>>>tags = db.get_all_tags()
>>>for tag in tags:
>>> print tag
#---------------------------------------------
>>>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