Would you like to practice your Python skills while building a challenging word game? Have you been wanting to learn more about creating command-line interfaces and making them colorful and interactive? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder’s Weekly articles and projects.
We share a recent Real Python step-by-step project about creating a clone of Wordle. In the project, you’ll practice building a terminal application, validating user input, and refactoring code into functions.
Christopher shares an article that compares two popular testing tools, Nox and Tox. He discusses how each framework approaches test environment configuration and why the author leans toward using Nox’s Python decorator–based format.
We share several other articles and projects from the Python community, including a news update, a guide to trying out code and ideas quickly with the Python REPL, a PEP about requiring virtual environments by default, a discussion about lessons learned in twenty years as a software engineer, a project for a spreadsheet GUI inside of JupyterLab notebooks, and adding C-style for loops to Python.
Course Spotlight: Getters and Setters in Python
In this video course, you’ll learn what getter and setter methods are, how Python properties are preferred over getters and setters when dealing with attribute access and mutation, and when to use getter and setter methods instead of properties in Python.
00:00:00 – Introduction00:02:21 – Django Security Releases Issued00:02:43 – PSF Is Hiring a Security Developer-in-Residence00:03:44 – Python 3.11.2, Python 3.10.10 and 3.12.0 alpha 5 are available00:04:02 – Build a Wordle Clone With Python and Rich00:10:05 – Why I Like Nox00:16:44 – Sponsor: Anaconda Cloud00:17:26 – PEP 704: Require Virtual Environments by Default00:27:17 – The Python Standard REPL: Try Out Code and Ideas Quickly00:33:08 – Video Course Spotlight00:34:35 – 20 Things I’ve Learned in My 20 Years as a Software Engineer00:47:50 – Mito: A Spreadsheet Inside Your JupyterLab Notebooks00:51:37 – How I Added C-Style for-Loops to Python00:58:08 – Thanks and goodbye Django Security Releases Issued: 4.1.6, 4.0.9, and 3.2.17PSF Is Hiring a Security Developer-in-ResidencePython Insider: Python 3.11.2, Python 3.10.10 and 3.12.0 alpha 5 are availableBuild a Wordle Clone With Python and Rich – In this step-by-step project, you’ll build your own Wordle clone with Python. Your game will run in the terminal, and you’ll use Rich to ensure your word-guessing app looks good. Learn how to build a command-line application from scratch and then challenge your friends to a wordly competition!Why I Like Nox – Both Nox and Tox are multi-environment testing tools. This opinion piece by Hynek compares and contrasts them and explains why he is increasingly using Nox.PEP 704: Require Virtual Environments by DefaultThe Python Standard REPL: Try Out Code and Ideas Quickly – In this tutorial, you’ll learn how to use the Python standard REPL (Read-Eval-Print Loop) to run your code interactively. This tool will allow you to test new ideas, explore and experiment with new tools and libraries, refactor and debug your code, try out examples, and more.20 Things I’ve Learned in My 20 Years as a Software Engineer – Justin writes a list of things he’s learned over his past twenty years in development. He starts by stating how context is important and that his lessons are from small teams that emphasize productivity and are tool agnostic.The 10x Programmer Myth - Simple ThreadMito: A Spreadsheet Inside Your JupyterLab NotebooksHow I Added C-Style for-Loops to Python – Ever wanted a C-style for loop in Python? No? Well, you can have one anyway. See how Tushar implemented with for (i := var(0), i < 10, i + 2):Alpha-Omega - Open Source Security FoundationWelcome to Nox - Nox 2022.11.21 documentationClassifying Python Virtual Environment WorkflowsPEP 704 - Require virtual environments by default for package installers - Discourse on Python.orgCreating Virtual Environments - Python Packaging User GuidePython Virtual Environments: A Primer – Real PythonJupyterLab for an Enhanced Notebook ExperienceLevel up your Python skills with our expert-led courses:
Intro to Object-Oriented Programming (OOP) in PythonPython Basics: Object-Oriented ProgrammingGetters and Setters in Python Support the podcast & join our community of Pythonistas