]> git.cworth.org Git - notmuch/blob - README
initial revision. See README for what works
[notmuch] / README
1 >>>from cnotmuch import notmuch
2 >>>db = notmuch.Database("/home/spaetz/mail")
3 >>>db.get_path()
4 >>>tags = db.get_all_tags()
5 >>>for tag in tags: 
6 >>>  print tag
7
8 #---------------------------------------------
9
10 >>>db = notmuch.Database("/home/spaetz/mailHAHA")
11 NotmuchError: Could not open the specified database
12
13 #---------------------------------------------
14
15 >>>tags = notmuch.Database("/home/spaetz/mail").get_all_tags()
16 >>>del(tags)
17 Freeing the Tags now
18 Freeing the database now