Check if a mailbox exists with Python and smtplib

Every day we discover different tools that should make our life easier, enchanted by the promise of achieving the best result without any effort. If we can master that tool or technique we can solve many problems even without understanding or finding the root cause, right?

So often I’m guilty of making that assumption, because it not just lazyness it’s harder and it takes time and patience to break complicated puzzles into small simple pieces. Even more to put it all those parts back together to finally find answers to questions like: How? When? Why?

Continue reading “Check if a mailbox exists with Python and smtplib”

Automating Document Conversion from Markdown with Pandoc

I’m gradually moving away from reStructuredText (RST) and I use more MarkDown(MD) to write generic documentation.  In fact, I found myself using md files more and more and I really like the approach of focusing on content and let the tool generate a well formatted document according to the type needed.

If MarkDown doesn’t need much introduction the tool I’m using to convert .md is called Pandoc.

Pandoc is a universal document converter and from an MD file can generate multiple output format. It’s  open-source and really simple to use. Continue reading “Automating Document Conversion from Markdown with Pandoc”