A Sequence of Lazy Turtle Aliens
An overview of the latest three articles I wrote for Real Python
I’m cheating today. Well, sort of. Instead of writing a brand new article, I’m sharing three articles I wrote in recent months for RealPython.com. The writing style is different to the irreverent writing you’re used to here, but I think you’ll enjoy the content just as much.
Help! Alien Turtles Are Invading
The first of the three articles was published on the 20th of March, and yes, it uses the turtle
module–crafting creations using this module seems to be becoming one of my trademarks!
Have you ever played Space Invaders? What a silly question to ask. Of course you have.
Have you ever coded your own Space Invaders clone? Now we’re talking.
So here’s Build a Python Turtle Game: Space Invaders Clone.
And here’s what you’ll be playing–I mean, writing:
The tutorial is built in stages, and there are some early “exit points” for those who are not interested in the intricacies of controlling frame rates, say!
And let me know what’s your high score!
It’s OK to Be Lazy, Sometimes
Next, we travel to the 24th of April when my second Real Python article of 2024 was published: What's Lazy Evaluation in Python?
Some Python expressions aren’t evaluated immediately. Yes, Python is lazy sometimes–but with good reason. This lazy evaluation is central to how data types such as iterators work. But there are other places where expressions aren’t evaluated until they’re needed. Some might even surprise you.
What’s A Sequence? Are You Sure You Know?
Finally, my latest Real Python article came out on the 1st of May. Last year, I wrote a sequence–sorry, a series of articles about data structure categories in Python, such as sequences, iterables, mappings, iterators, and more. Here’s a list of those seven articles:
I revisited the topic of sequences in my Real Python article, which you can read in full here: Python Sequences: A Comprehensive Guide
Ten Out of Ten
These 2024 articles are my eighth, ninth, and tenth articles for Real Python. You can see the full list here.
You May Also Have Missed…
And since I’m sharing articles in today’s post, maybe I’ll share a few more. Some of you who joined in recent months may have missed out on some of the popular articles from the early days of The Python Coding Stack. The most popular are the articles in the series of seven Harry Potter-themed posts about object-oriented programming in Python.
Yes, seven–one for each year at Hogwarts School of Codecraft and Algorithmancy, of course! Here’s the link to the whole magical series:
If you’ve been here a while, you know I like to veer away from conventional tutorials and technical writing. One of my most experimental articles was a picture story about Python’s deque
data structure. Here it is:
That’s enough sharing for today. Back with standard article soon…
Stop Stack
#62
If you wish to support The Python Coding Stack with a one-off donation, you can do so through the link below–pick whatever amount you wish. This helps me a lot in making sure I can keep writing these tutorials and keep them accessible to everyone:
The Python Coding Book is available (Ebook and paperback). This is the First Edition, which follows from the "Zeroth" Edition that has been available online for a while—Just ask Google for "python book"!
And if you read the book already, I'd appreciate a review on Amazon. These things matter so much for individual authors!
And for those who want to join The Python Coding Place to access all of my video courses—past and future—join regular live sessions, and interact with me and other learners on the members-only forum, here's the link:
PS: There are no subscriptions–It’s a one-time payment that gives you access to everything, forever.
PPS: There’s 30% off on lifetime membership at the moment.
Any questions? Just ask…