Structural Pattern Matching, Generator Expressions, Python Steps Forward, and More

#491 – SEPTEMBER 21, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Structural Pattern Matching in Python 3.10
“Python 3.10, which is due out in early October 2021, will include a large new language feature called structural pattern matching. This article is a critical but (hopefully) informative presentation of the feature, with examples based on real-world code.”
BEN HOYT

Build a Personal Diary With Django and Python
In this beginner-friendly tutorial, you’ll build a personal diary app in Django. You’ll use the strengths of the Django web framework and learn the basics of web development with Python.
REAL PYTHON

Get Deeper Insights Into Your Python Code-Level Performance and Reduce End-User Latency
Datadog APM enables you to detect the methods that consume the most CPU, memory, and time under real work loads allowing you to optimize code in real-time to reduce end-user latency and cloud provider costs. Optimize your Python app performance at any scale. See for yourself with a free trial →
DATADOGsponsor

(Not) Unravelling Generator Expressions
What does that look like if you take away the Python “magic” of generator expressions and unravel them down to their core Python semantics?
BRETT CANNON

Python Anti-Pattern: Using a Mutable Default Value as an Argument
A debugging post-mortem.
VALI VOICU

Better PyPy JIT Support for Auto-Generated Python Code
CARL FRIEDRICH BOLZ-TEREICK

Debugging by Starting a REPL at a Breakpoint Is Fun
JULIA EVANS

Django 4.0 to Get a Built-in Redis Cache Backend
GITHUB.COM/DJANGO


Discussions


quit(), exit(), sys.exit(), os._exit(): The Differences and Do They Matter?
REDDIT

I Think I Have Installed a Dodgy Pip Package…
REDDIT


Python Jobs


Senior Software Engineer (Washington D.C.)
QUORUM

Senior Backend Software Engineer (Remote)
CLAY

More Python Jobs >>>


Articles & Tutorials


Programming Languages: Python Is on the Verge of Another Big Step Forward
Python could soon take first place in one more programming language popularity ranking: “Python has never been so close to the number 1 position of the TIOBE index,” writes Paul Jansen, chief of Tiobe software. “It only needs to bridge 0.16% to surpass C. This might happen any time now. If Python becomes number 1, a new milestone has been reached in the TIOBE index. Only 2 other languages have ever been leading the pack so far, i.e. C and Java.”
LIAM TUNG

Pass by Reference in Python: Best Practices
In this course, you’ll explore the concept of passing by reference and learn how it relates to Python’s own system for handling function arguments. You’ll look at several use cases for passing by reference and learn some best practices for implementing pass-by-reference constructs in Python.
REAL PYTHON course

Rev APIs Solve All of Your Speech-to-Text Needs
Rev.ai is the most sophisticated automatic speech recognition in the world. Our speech-to-text APIs are more accurate, easier to use, and have less bias than competitors like Google, Amazon, and Microsoft. Try Rev.ai free for five hours right now →
REV.AIsponsor

Using the “and” Boolean Operator in Python
In this step-by-step tutorial, you’ll learn how Python’s “and” operator works and how to use it in your code. You’ll get to know its special features and see what kind of programming problems you can solve by using “and” in Python.
REAL PYTHON

Validating and Formatting Phone Numbers in Python With phonenumbers
This article explains how to validate phonenumbers using the phonenumbers library. It also shows how to extract the meta information (such as carrier, geographical) from a phone number.
RUSLAN HASANOV • Shared by Ruslan Hasanov

How to Send Emails With Python
Learn how to send emails with Python using the smtplib and email modules. You’ll also learn how to send attachments.
MIKE DRISCOLL

DataStax Astra DB – Built on Apache Cassandra. Get 80 Gigabytes of Storage Free Every Month
Need global scale on a startup budget? DataStax Astra DB is a multi-cloud DBaaS built on Apache Cassandra. Painless APIs, always free for developers, and no credit card required.
DATASTAXsponsor

Introduction to Django slippers: Reusable Components
Slippers aims to augment Django’s template language with convenience features for writing reusable components.
MITCHEL CABULOY

How I Patched Python to Include Ruby’s Inline “if”
What the author learned from adding “else-less” functionality to Python, as inspired by Ruby.
MIGUEL BRITO

Language Translation and OCR With Tesseract and Python
ADRIAN ROSEBROCK

Using OpenBSD’s pledge and unveil Syscalls From Python
CHRIS WELLONS

Improving Python Dependency Management With pipx and Poetry
CEDA EI


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

eacc: Minimalist but Flexible Lexer/Parser Tool in Python
GITHUB.COM/IOGF

python-goto: Function Decorator That Rewrites the Bytecode to Enable goto in Python
GITHUB.COM/SNOACK

django-cacheops: ORM Cache With Automatic Granular Event-Driven Invalidation
GITHUB.COM/SUOR

django-upgrade: Automatically Upgrade Your Django Projects
GITHUB.COM/ADAMCHAINZ

Learn Python Through Nursery Rhymes & Fairy Tales (Kickstarter)
SHARI ESKENAS

slippers: Build Reusable Components in Django Without Writing a Single Line of Python
GITHUB.COM/MIXXORZ

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) September 22, 2021

⋅ PyDelhi User Group Meetup September 25, 2021

⋅ PythOnRio Meetup September 25, 2021

⋅ Introduction to the Python Programming Language (In Persian) September 28, 2021

⋅ Dominican Republic Python User Group September 28 to September 29, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Practical PEP 8, Logging Best Practices, "async for", and More

Tuesday, September 14, 2021

Applying PEP 8 in Practice #490 – SEPTEMBER 14, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Applying PEP 8 in Practice “Two recent threads on the python-ideas mailing list have overlapped to a

PEP 668, Python for Personal Finance, EAFP vs LBYL, and More

Tuesday, September 7, 2021

PEP 668: Graceful Cooperation Between External and Python Package Managers #489 – SEPTEMBER 7, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 668: Graceful Cooperation Between External and

Python == #1, Instagram's Custom Python Interpreter, PyCon 2022 Volunteering, and More

Tuesday, August 31, 2021

Python Ranks #1 in IEEE "Top Programming Languages" #488 – AUGUST 31, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python Ranks #1 in IEEE “Top Programming Languages” “Python dominates

Efficient Queues and Stacks, 25 Pandas Function You Might Not Know, Graph Data Analysis, and More

Tuesday, August 24, 2021

Python's `deque`: Implement Efficient Queues and Stacks #487 – AUGUST 24, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python's deque : Implement Efficient Queues and Stacks In this step-

Python Launcher for UNIX, Python in the Browser, Data Visualization with HoloViz, and More

Tuesday, August 17, 2021

Introducing the Python Launcher for Unix #486 – AUGUST 17, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Introducing the Python Launcher for Unix Python Core Developer and Steering Council member

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your