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

Key phrases

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

a16z’s Infrastructure team gets a new general partner

Friday, April 19, 2024

Post News is shutting down and Wall Street isn't feeling a Salesforce-Informatica pairing View this email online in your browser By Christine Hall Friday, April 19, 2024 Image Credits: Andreessen

New Roundtable! Additive for Mass Production Applications

Friday, April 19, 2024

The Outlook for the Future View this email in your browser engineering.com Roundtable - Additive for Mass Production Applications: The Outlook for the Future 6 Considerations for Choosing the Right

📷 What to Know About Macro Photography — Why You Should Buy a Budget Motherboard

Friday, April 19, 2024

Also: How to Automatically Highlight Values in Excel, and More! How-To Geek Logo April 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Is the wind going out of the AI sails?

Friday, April 19, 2024

Rippling vacuums up venture capital and Ramp bags more millions View this email online in your browser By Haje Jan Kamps Friday, April 19, 2024 Image Credits: Getty Images / Carol Yepes Welcome to

Llama 3 is out - Weekly News Roundup - Issue #463

Friday, April 19, 2024

Plus: brand-new, all-electric Atlas; AI Index Report 2024; Microsoft pitched GenAI tools to US military; Humane AI Pin reviews are in; debunking Devin; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1417 [Easy]

Friday, April 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Wayfair. You are given a 2 x N board, and instructed to completely cover the board with

Charted | How Hard Is It to Get Into an Ivy League School? 🎓

Friday, April 19, 2024

We detail the admission rates and average annual cost for Ivy League schools, as well as the median SAT scores required to be accepted. View Online | Subscribe Presented by: Discover the motivations

Dark Matter & Tortured Poets

Friday, April 19, 2024

New music releases aren't what they used to be -- for good and bad. Dark Matter & Tortured Poets By MG Siegler • 19 Apr 2024 View in browser View in browser New music releases in 2024 are a

Impact of AI on Product Management

Friday, April 19, 2024

​ Impact of AI on Product Management The rise of the AI Product Manager. Product managers have always championed customer's needs. However, with AI, the job requires new technical and ethical

⚙️ Zuck has entered the chat(bot)

Friday, April 19, 2024

Plus: AI video's coming to mobile! ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌