To start some things annoy me. To convert a string into a number you have to do int('2'), but then they tell you everything is an object, so to append an item to a list you do aList.append(2). So why not '2'.int()?
Then I explore the wonderful library. It covers a lot, but immediately I run into problems: there is a library providing maildir support. But the only method it understands is next() and it only returns an email object. Nice if you want to look at your emails, but not if like me you want to write an archiving script(!). So in the end I return to iterating over the files.
All in all I get the feeling of "almost" and "nearly". The few Common Lisp libraries available are much better in quality, but most of the time lacking in documentation. Elegant, documented, broad: select 2 :-(.
For you reading pleasure (and amusement) here is the archive scripts:
( Read more... )
It moves all the files in my maildir tree (Except those in the main INBOX) into folder with .