diff options
| author | Sebastian Spaeth <sebastian@sspaeth.de> | 2010-03-15 15:47:15 +0100 |
|---|---|---|
| committer | Sebastian Spaeth <sebastian@sspaeth.de> | 2010-03-15 15:47:15 +0100 |
| commit | b4fdf0ae30e0847a759c01524898d0b9d803c43b (patch) | |
| tree | b586e9dbca8d26702fa2d6b614ea16e22e408d77 /README | |
| parent | 9286296f46d5281bb4e1a4b576140f2f4770a66c (diff) | |
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
Diffstat (limited to 'README')
| -rw-r--r-- | README | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +>>>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
\ No newline at end of file |
