Anyone who’s worked with Python knows that modules can be a Godsend, saving you time, effort, and many lines of code. They even have namespacing built-in 💪 😍 To expand on this a bit: However, not all ways of using modules are equally beneficial. In this article, we will discuss why using import * can… Continue reading ⚠️Why you should avoid import * in Python 🐍
Articles on modules
Bootstrap Your Next Python Project With Cookiecutter
By Bob Belderbos on 24 October 2017
I finally did it! I bootstrapped my first project with Cookiecutter. There is a lot to discover but wow this tool can save you a ton of time, making your project more professional.
How to Use Pdb to Debug Your Code
By Bob Belderbos on 24 October 2017
The larger part of our coding time is spent reading and debugging code already written. For this Python’s pdb is an unmissable module in your Python toolbox. In this article I show you the most common options and some practical examples.
200 Days of PyBites, 100 Days of Code and our Next Project
By PyBites Team on 7 July 2017
We did it! #100DaysOfCode is done: 5K lines of code, 100 scripts. Just on the day PyBites turns 200 days. In this article we will share our learning on this major project and announce our next 100 days effort …
From Script to Project – Packaging Your Code in Python
By Bob Belderbos on 1 July 2017
This week’s article is about packaging your Python code. Sounds daunting? Actually it is pretty simple.