About Stephen Gruppetta
Stephen Gruppetta obtained a PhD in physics and worked as a physicist in academia for over a decade before becoming a Python educator.
He published The Python Coding Book, a relaxed and friendly book for beginners, and he taught Python learners of all ages on platforms he set up for adult and children learners, The Python Coding Place and Codetoday Unlimited, and through articles on The Python Coding Stack.
At Real Python, Stephen designs and runs live cohort courses and workshops, and he contributes to tutorials and video courses.
Tutorials by Stephen:
- Python's T-Strings Coming Soon and Other Python News for May 2025
- Image Processing With the Python Pillow Library
- Using the len() Function in Python
- How Do You Choose Python Function Names?
- Python Mappings: A Comprehensive Guide
- Python Sequences: A Comprehensive Guide
- What's Lazy Evaluation in Python?
- Build a Python Turtle Game: Space Invaders Clone
- When Should You Use .__repr__() vs .__str__() in Python?
- Using NumPy reshape() to Change the Shape of an Array
- Using Python Optional Arguments When Defining Functions
- Visualizing Data in Python Using plt.scatter()
- np.linspace(): Create Evenly or Non-Evenly Spaced Arrays
- Formatting Floats Inside Python F-Strings (Course)
- Differences Between Python's Mutable and Immutable Types (Course)
- Sorting Dictionaries in Python: Keys, Values, and More (Course)
Tutorials Stephen Contributed to:
- How to Group Data Using Polars .group_by()
- How to Copy Objects in Python: Shallow vs Deep Copy Explained
- Python's Instance, Class, and Static Methods Demystified
- Bytes Objects: Handling Binary Data in Python
- How to Work With Polars LazyFrames
- How to Deal With Missing Data in Polars
- Inheritance and Composition: A Python OOP Guide
- Operators and Expressions in Python
- Interacting With Python
- When to Use .__repr__() vs .__str__() in Python (Course)
- Process Images Using the Pillow Library and Python (Course)
- Defining Python Functions With Optional Arguments (Course)
- Python's len() Function (Course)
- Using plt.scatter() to Visualize Data in Python (Course)