In this article some important anti-patterns regarding error handling and how to solve them making your code more Pythonic and easier to maintain.
Bob Belderbos
Bob studied business economics, but got fired up about programming early in his career. He taught himself web design / coding and started living his biggest passion: automate the boring stuff, making other people's lives easier. Since then he has coded projects accruing millions in cost savings and built a coding platform that has taught Python to thousands of people worldwide. He deeply cares about helping other people succeed. His biggest win will be your next win!
5 cool things you can do with itertools
By Bob Belderbos on 12 January 2017
Itertools is a very useful module. In this short post I show some 5 examples how you can use it. Some of this stuff might be useful in next week’s challenge …
Beautiful, idiomatic Python
By Bob Belderbos on 10 January 2017
Transforming Code into Beautiful, Idiomatic Python is a must-watch to write more Pythonic code. In this post some highlights.
A great book that makes algorithms accessible
By Bob Belderbos on 3 January 2017
I finished reading Grokking Algorithms, it’s a very accessible resource for learning algorithms / data structures, highly recommended.
5 min guide to PEP8
By Bob Belderbos on 2 January 2017
Today a post on PEP8, the Style Guide for Python Code
3.6 new features
By Bob Belderbos on 31 December 2016
Finally got a chance to look into Python 3.6’s new features. In this post some highlights and pointers.
Automate Tweeting: how to build a Twitterbot
By Bob Belderbos on 29 December 2016
In this post I will show you how we automate part of our Twitter posting using feedparser and tweepy.
Learning from Python mistakes
By Bob Belderbos on 28 December 2016
In this post I summarize some great lessons Mike Pirnat shared in his free ebook ‘How to make mistakes in Python’
How to create a nice-looking HTML page of your Kindle book highlights (notes)
By Bob Belderbos on 26 December 2016
In this post I share a simple script to convert Bookcision JSON into a HTML page for your blog.
Zip and ship, make an executable zipfile of your py project
By Bob Belderbos on 25 December 2016
In this post I show an example how you can distribute your code as an executable zipfile, a neat trick I discovered in Chapter 6 of The Hitchhiker’s Guide to Python