Stephen Gruppetta

Hello. Following a first career as a research scientist and University academic, I now focus on teaching coding in Python to children and adults.

I enjoy finding new ways of teaching complex and abstract concepts, and this helps me understand them better myself.
Read more
Positions

Author of The Python Coding Book

  • codetoday
  • May 2021 - Present

Director of Studies

  • codetoday
  • Oct 2015 - Present

Stephen's Collections

The Python Coding Book

5 Highlights

Blogs about Python

12 Highlights

My Real Python articles

4 Highlights

2021

Dec 11, 2021
Dec 11, 2021
Wrote about Python
Wrote a Blog Post
Wrote an article
+ 1
Nov 13, 2021
Nov 13, 2021
Wrote an article
Wrote about Python
Wrote a book chapter
+ 1
We often jump in and out of Matplotlib and find the minimum we need to create the plot we want. However, getting an understanding of what's happening behind the scenes in the library can be very fruitful.
In this Chapter of The Python Coding Book, I look at some of the fundamentals on what makes up a Matplotlib figure, what's the difference between `Figure` and `Axes` objects, and also get a taste of 3D plots and animations, such as the one below!
Here's the link to the full Chapter:
Basics of Data Visualisation in Python using Matplotlib
Oct 31, 2021
Oct 31, 2021
Wrote a Blog Post
Wrote an article
Wrote about Python
+ 1
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...boring.

In this article, I've written a step-by-step tutorial that explores using lists, tuples, dictionaries, and sets in Python through a different type of project—The Chaotic Balls Animation. You can see what it looks like in the video below.

Have a go a writing this program, and feel free to make it your own! Let me know of other tile-action ideas you try out...
Oct 20, 2021
Oct 20, 2021
Wrote an article
Wrote about Python
Using Python's `len()` function - my latest article on Real Python is out today
Oct 11, 2021
Oct 11, 2021
Wrote a Blog Post
Wrote about Python
Wrote an article
+ 1
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. Punctuation was one of the tools that made its way into languages to help with this.   This made the text easier to read. But it also ensured that the author’s thoughts and ideas were conveyed more precisely.   Computer programming has gone through a similar transformation recently, with the emphasis on readability becoming ever more important. Python is a language that has readability built into its DNA.

Read the latest blog post: 

Python Readability, the PEP 8 Style Guide, and Learning Latin

 
Sep 30, 2021
Sep 30, 2021
Wrote about Python
Wrote an article
Wrote a Blog Post
+ 1
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 on the gravitational force between the bodies.

Classes are defined which can then be used to create any solar system. An example of a binary star system is shown in the article along with a more classic single star system.

Hope you enjoy it. There's also a GitHub repo with the code (link in article)
Loading...
Get your own page like this