mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
improve README example session to reflect reality
--HG-- extra : transplant_source : %15P%B8E%1A%CE%0D%DE%CEB%E0/%E04%2B%3F%255%A1%F9
This commit is contained in:
parent
632762cd1a
commit
90c47567f4
1 changed files with 7 additions and 1 deletions
8
README
8
README
|
@ -1,9 +1,15 @@
|
|||
>>>from cnotmuch import notmuch
|
||||
>>>db = notmuch.Database("/home/spaetz/mail")
|
||||
>>>db.get_path()
|
||||
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
|
||||
|
||||
#---------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue