Stephen Gruppetta's profile photo

Stephen Gruppetta

United Kingdom

Writer at Substack

Articles

  • 3 weeks ago | thepythoncodingstack.com | Stephen Gruppetta

    I avoided decorators for so long. First, I pretended they didn't exist. Then, I treated them like a magic spell—I'd use some of the common ones and simply copy how they're used in the documentation. And each time I tried to learn how they work, I'd give up pretty quickly. But eventually, I got there. And once I finally understood how decorators work, my reaction was, "Is that it?" As with many complex topics, the magic goes away once you get it, and what's left makes perfect sense.

  • Nov 24, 2024 | albexl.substack.com | Eric Matthes |Mike Driscoll |Stephen Gruppetta |Josh Wenner

    Have you ever wondered what's the fastest way to land a programming job in the modern-day software engineering industry? Back in 2020, I did too. I had just recently graduated from university and was eager to make some money from all the "useful" skills I had learned over the past five years. My primary skillset revolved around solid knowledge of algorithm design and thousands of hours of coding in C++. None of that got me my first job.

  • Nov 23, 2024 | thepythoncodingstack.com | Stephen Gruppetta

    "Mind where you're going," yelled the supervisor. And he's normally one of the kinder people at Central Command. But not today. Everyone's stressed and tired today. And that's never a great combination. Trision didn't apologise. This, also, was out of character for him. But there was no time to waste. He had the solution, but time was running out. "Status?" Trision's tone wasn't what he was aiming for as he entered the engine room. He didn't need an answer. He didn't wait for one. "I've got it.

  • Aug 12, 2024 | datacamp.com | Stephen Gruppetta

    tutorialModules enable you to split parts of your program in different files for easier maintenance and better performance. tutorialIn this tutorial, you will learn exclusively about Python if else statements. tutorialTo comment out a block of code in Python, you can either add a # at the beginning of each line of the block or surround the entire block with triple quotes (''' or """). tutorialLearn how you can create if…elif…else statements in Python.

  • Jul 31, 2024 | datacamp.com | Stephen Gruppetta

    What Does Python's any() Function Do? Python's any() is one of the built-in functions. It accepts an iterable such as a list or tuple, and it returns True if at least one value in the iterable is truthy. A truthy value is evaluated as True when cast to a Boolean using bool().