notmuch clon
Find a file
Sebastian Spaeth 422ba4beca update documentation so it makes sense
--HG--
extra : transplant_source : %3F%E9%23%2B%2A%83%06g%10R%CA%CD%27N5%3E%22g%1E%AD
2010-03-16 20:54:43 +01:00
cnotmuch update documentation so it makes sense 2010-03-16 20:54:43 +01:00
docs update documentation so it makes sense 2010-03-16 20:54:43 +01:00
.hgignore hgignore: update to ignore static documentation 2010-03-16 20:35:34 +01:00
notmuch implement Message.get_date() and Message.get_header() 2010-03-16 17:10:57 +01:00
README improve README example session to reflect reality 2010-03-15 17:12:52 +01:00

>>>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