Issue #622 (March 26, 2024)

#622 – MARCH 26, 2024

Build a Python Turtle Game: Space Invaders Clone

In this step-by-step tutorial, you’ll use Python’s turtle module to write a Space Invaders clone. You’ll learn about techniques used in animations and games, and consolidate your knowledge of key Python topics.
REAL PYTHON

Getting Help (In Python)

When trying to remember just where sleep() was in the Python standard library, Ishaan stumbled through the built-in help and learned how to use it to answer just these kinds of questions.
ISHAAN ARORA

Reporting Appsec Risk up to Your CISO Body

Master concise risk reporting for a stronger partnership with your CISO. Translate technical jargon into actionable insights for your CISO with Snyk’s guide on strategies on how to bridge visibility gaps and provide meaningful risk reports →
SNYK.IO sponsor

Every Dunder Method in Python

Ever wonder just how many special methods there are in Python? This post explains all of Python’s 100+ dunder methods and 50+ dunder attributes.
TREY HUNNER

PyOhio 2024 Announced

PYOHIO

Django REST Framework 3.15

DRF

EuroPython 2024: Community Voting Is Now Live!

EUROPYTHON

Python 3.10.14, 3.9.19, and 3.8.19 Security Releases

CPYTHON DEV BLOG

Discussions

Ideas: Make super() Work in a Class Definition

PYTHON DISCUSS

Articles & Tutorials

SQLite and SQLAlchemy in Python: Beyond Flat Files

In this video course, you’ll learn how to store and retrieve data using Python, SQLite, and SQLAlchemy as well as with flat files. Using SQLite with Python brings with it the additional benefit of accessing data with SQL. By adding SQLAlchemy, you can work with data in terms of objects and methods.
REAL PYTHON course

Why Programming Languages Need a Style Czar

The more flexible the language, the more likely you’re going to have a variety of styles in the code. The larger the project the harder it is to manage. This opinion piece explains why having someone dictate how code should look at the language level can be valuable.
ADAM GORDON BELL

Elevate Your Python Coding Game with 250 Pythonic Tips!

Discover how to write elegant, efficient Python code with our FREE eBook “Pybites Python Tips”. From basics to advanced techniques, these 250 actionable insights will transform your coding approach. Perfect for Pythonistas aiming for mastery →
PYBITES sponsor

Python Basics Exercises: Dictionaries

One of the most useful data structures in Python is the dictionary. In this video course, you’ll practice working with Python dictionaries, see how dictionaries differ from lists and tuples, and define and use dictionaries in your own code.
REAL PYTHON course

The (Hidden) Danger of Notebooks in Production

An opinion piece on the perils of utilizing notebooks in a production system. It highlights some of their inherent challenges and presents an alternative approach where notebooks can co-exist with a production system.
CHASE GRECO • Shared by Chase Greco

MVC in Python Web Apps: Explained With Lego

This tutorial conceptually explains the Model-View-Controller (MVC) pattern in Python web apps using Lego bricks. Finally understand this important architecture to streamline your web development process.
REAL PYTHON

Parsing URLs in Python

Correctly parsing a URL can be tough, in fact the built-in Python functions aren’t fully compliant with the RFC. This post talks about how that is, and a library that gets it right.
TYLER KENNEDY

Rapid Prototyping in Python

This post talks about using Python as a prototyping language for more complex projects in other languages. Rather than write pseudo-code, write actual code to test your ideas.
AMJITH

Go, Python, Rust, and Production AI Applications

Sameer talks about his use of Go, Python, and Rust, and how their approaches effect your application’s safety, along with how that impacts coding for AI systems.
SAMEER AJMANI

20 Django Packages That I Use in Every Project

An opinionated list of Django third-party packages that Will (author of Django for Beginners) uses to add features to his Django web projects.
WILL VINCENT

The Wrong Way to Speed Up Your Code With Numba

Numba can make your numeric code faster, but only if you use it right. Learn what “right” means and what to avoid.
ITAMAR TURNER-TRAURING

4 Ways to Correct Grammar With Python

This tutorial explains various methods for checking and correcting English language grammatical errors using Python.
DEEPANSHU BHALLA

State of WASI Support for CPython: March 2024

Progress on WASI and CPython continues. Brett gives a summary of changes since last year’s post.
BRETT CANNON

Projects & Code

likeprogramming: A Python Superset With Slang

GITHUB.COM/STARINGISPOLITE

wifi-heat-mapper: Benchmark Wi-Fi Networks

GITHUB.COM/NISCHAY-PRO

Slightly Simplified Subprocesses

GITHUB.COM/POMPONCHIK • Shared by Evgeniy Blinov

hancho: A Simple, Pleasant Build System in Python

GITHUB.COM/AAPPLEBY

flect: Python Framework for Full-Stack Web Applications

GITHUB.COM/CHAOYINGZ

Events

Weekly Real Python Office Hours Q&A (Virtual)

March 27, 2024
REALPYTHON.COM

SPb Python Drinkup

March 28, 2024
MEETUP.COM

PyCamp Spain 2024

March 29 to April 2, 2024
PYCAMP.ES

PyLadies Amsterdam

March 29, 2024
MEETUP.COM

PythOnRio Meetup

March 30, 2024
PYTHON.ORG.BR

PyCon Lithuania 2024

April 2 to April 7, 2024
PYCON.LT

PyCascades 2024

April 5 to April 9, 2024
PYCASCADES.COM

Happy Pythoning!
This was PyCoder’s Weekly Issue #622.
View in Browser »

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Source:: PyCoder’s