Python List Methods

The most important collection data type in Python is the list data type. You’ll use lists basically in all your future projects so take 3-5 minutes and study this short guide carefully. You can also play my short video tutorial as you read over the methods: Method Description lst.append(x) Appends element x to the list … Read more

Python Re Groups

This tutorial explains everything you need to know about matching groups in Python’s re package for regular expressions. You may have also read the term “capture groups” which points to the same concept. As you read through the tutorial, you can also watch the tutorial video where I explain everything in a simple way: Related … Read more

A Simple Python Morse Code Translator

Morse code was developed in telecommunications to encode the alphabetic characters in binary signals (“long” and “short”, or “1” and “0”). Here’s the Morse code table: This tutorial shows you how to implement a simple Morse code translator in Python. You can also play the explainer video as you read through the article: The code … Read more

Matplotlib Subplot – A Helpful Illustrated Guide

Too much stuff happening in a single plot? No problem—use multiple subplots! This in-depth tutorial shows you everything you need to know to get started with Matplotlib’s subplot() function. If you want, just hit “play” and watch the explainer video. I’ll then guide you through the tutorial: To create a matplotlib subplot with any number … Read more

The Python Re Plus (+) Symbol in Regular Expressions

This article is all about the plus “+” symbol in Python’s re library. Study it carefully and master this important piece of knowledge once and for all! You can also watch the article video while you read over the explanations: Related article: Python Regex Superpower – The Ultimate Guide What’s the Python Re Plus + Quantifier? … Read more

[Story] Winter is Coming — or What's the Best Python Freelancer Course?

It’s a cold Tuesday morning in December. After a long drive in your warm and cozy car—you enjoyed your favorite podcast—you finally arrive at your office. You prepare a hot cup of coffee for you and Mandy, your colleague and best office friend. While filling in the coffee beans (their rough, chocolate aroma fills the … Read more

How to Boost Your Intelligence? 10 Tips From Science

This book chapter from “Brain Games Python” provides you with tips to help you become a more intelligent human being. Ignore them at your own risk! 1. Sleep More Sleep deprivation reduces your intelligence [Killgore 2008]. Say, you decide to sleep only six instead of eight hours from now on. Congratulations, you’ve gained 8% more … Read more