Month: May 2019

Python Namespaces Made Simple — With Harry Potter Examples

Namespace are everywhere in Python (whether you realize it or not). However, not knowing about Python namespaces is a source of nasty bugs and inefficient Python code. Why Namespaces? In many classes with 30+ students, two of them share the same name. The reason is a variant of the popular birthday problem (for names, not …

Python Namespaces Made Simple — With Harry Potter Examples Read More »

Python Virtual Environments with “venv” — A Step-By-Step Guide

How does the tool venv work? The venv module is the new default way of creating basic virtual environments for new Python versions >3.3. If you dive into virtual environments, you’ll quickly realize that there are a multitude of tools out there such as “virtualenv”, “pyenv”, and many more. My recommendation for data scientists and …

Python Virtual Environments with “venv” — A Step-By-Step Guide Read More »

Python Virtual Environments with Conda — Why the Buzz?

In this article, you’ll learn about an important concept in Python: virtual environments. Why Virtual Environments? Programs evolve over time. If you are a productive coder, you’ll ship your code early and often. Over time, you’ll fix the bugs as they appear and integrate feedback of users of your code. And this is what all …

Python Virtual Environments with Conda — Why the Buzz? Read More »

Python Freelancing — Are You Good Enough to Start Earning Money?

André, one of my early students at my “Coffee Break Python” email series, asked me the following question: “How much do I have to learn to become a Python freelancer?” My answer is very simple: start right away — no matter your current skill level. But I know that for many Python coders just starting …

Python Freelancing — Are You Good Enough to Start Earning Money? Read More »