Blogs about Python

New blog post: a step by step tutorial to write a Python turtle animation which uses named tuples: https://thepythoncodingbook.com/2022/06/12/python-turtle-animation-using-named-tuples-sunrise/
• Do you use `numpy.meshgrid()`? • Do you fully understand it? Even if you do, you may get significant performance improvements if you ditch `meshgrid()` Read the article to find out more… numpy.me...
How are Python iterators dependent on the iterables they were created from? Wait a second, what's the difference between an iterator and an iterable? Here's the article on The Python Coding Book bl...
New blog post just out: Visualising Maths Using Python and Turtle
Just published a step-by-step tutorial to write a Lunar Landing game in Python using the turtle module. Have your Apollo 11 moment: A Python Lunar Landing game using the turtle module
Just published: Debugging Python Code Is Like Detective Work — Let’s Investigate In this article, I look at what real detectives actually do when solving crimes, and how they all have counterparts ...
Published my latest musings/blog post today: How Do They Build The Starships in Star Trek? Classes and Objects in Python
Published an article in which I try to put down into words what coding *really* is. What is coding? Beyond the obvious…
Latest blog post published: Simulating a 3D Solar System in Python using Matplotlib
We all know the basics are very important when learning anything. The main built-in data structures in Python are among these basics when learning how to code. But often, they're seen as a bit...bo...
Many years ago, languages such as Latin and Greek didn't have punctuation marks or spaces between words—scriptio continua. Over time, the need to make the text more readable became important. Punct...
Published the latest article describing simulation of orbiting planets in a solar system using Python. The article goes through the steps needed to simulate how bodies in a solar system move based ...
—You’ve written a Python script or project with several modules —You press Run, figuratively or literally —What happens behind the scenes in the microseconds or seconds or minutes it takes for your...
Published my latest article on using object-oriented programming in Python to simulate bouncing balls A different take on an OOP example
Published a long-form post/article on my blog on: How to Create Any Image Using Only Sine Functions | 2D Fourier Transform in Python This takes me back to a "previous life" when dealing with optics...
You know how to use Python functions. But do you *really* understand Python functions? Here's how to visualise what's happening behind the scenes when you define and use Python functions.
Simulating the real world in Python helps understand both Python and the real world better. In this week's blog post, I look at how to simulate a Bouncing Ball in Python, using the simple yet usefu...
To learn Python coding, it's not enough to learn the commands and various tools. You need to be able to see the big picture, understand the story of a computer program. I just published my latest b...
Published a new blog post in #Python's instance variables (or data attributes). The story of three groups of children going on a school trip and how their teachers dealt with their lunches feature ...
Started a Python blog aimed at looking at various programming topics through analogies to understand them better. Here's the inaugural post: https://thepythoncodingbook.com/2021/07/21/stacks-and-qu...