First Match in a List, Memes With Pillow, When to Upgrade to 3.11, and More

#549 – NOVEMBER 1, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How to Get the First Match From a Python List or Iterable
In this tutorial you’ll learn about the best ways to get the first match from a Python list or iterable. You’ll look into two different strategies, for loops and generators, and compare their performance. Then you’ll end up by creating a reusable function for all your first matching needs.
REAL PYTHON

Generating Memes and Infographics With Pillow
Pillow is great for doing image resizing, adding borders or composing. This makes it a natural fit for creating tools for memes and infographics. This step-by-step article shows you what Pillow code you need to write to turn any image into a meme.
PIOTR MALIŃSKI

Built for Seamless, Continuous Deployment - Platform.sh Is Your Web Fleet Management Solution
Platform.sh is a secure cloud hosting platform that allows you to effortlessly manage, monitor and optimize all your websites. With our solution, your development team can avoid wasting precious time updating your websites individually or fixing deployment bugs and focus on what truly matters →
PLATFORM.SHsponsor

When Should You Upgrade to Python 3.11?
Python 3.11 has been released, when should you switch to using it? This posting covers the complications you can run into when moving to the latest release of any Python and how to know when it is best for you to upgrade.
ITAMAR TURNER-TRAURING

Python 3.12.0 Alpha 1 Released
PYTHON.ORG

PyCon US 2023 Call for Proposals
PYCON.ORG


Discussions


Favorite New Python 3.11 Feature?
REAL PYTHON ON TWITTER

Python 3.11 Is Faster Than 3.8
HACKER NEWS


Python Jobs


Software Engineer - Weissman Lab
WHITEHEAD INSTITUTE FOR BIOMEDICAL RESEARCH 📍 CAMBRIDGE, MA, USA

Senior Software Engineer (Python, Qt, Linux)
VIOLET 📍 ANYWHERE

Content Operations Manager
REAL PYTHON 📍 ANYWHERE

More Python Jobs >>>


Articles & Tutorials


Caching in Django Applications
Caching can make a big difference in the performance of your application. This blog post describes how to apply caching to a Django project and what the benefits are. It is part 4 in a series with entries on Django performance improvement for the database, your code, and your front-end.
ESTHER VAATI

Cool New Features in Python 3.11
In this video course, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python.
REAL PYTHON course

Deepgram Is the Preferred Speech-to-Text API of Python Developers
Engineers from companies like NASA, Spotify & Volley chose Deepgram’s speech-to-text API to automatically transcribe their audio with understanding features like summarization, topic detection and language detection.  Make the most of your audio data and get 200 hours of free transcription →
DEEPGRAMsponsor

Lambdas Don’t Support Type Hints, but That’s Okay
Python has no syntax to add type hints to lambdas, but that doesn’t mean you can’t use them in type-checked code. This post looks at how mypy can infer the types for lambdas, based on where they’re used.
ADAM JOHNSON

12 Factor Apps Revisited
The Twelve-Factor App methodology is a methodology for building software-as-a-service applications by Adam Wiggins. This article covers how it has evolved and what you can learn from it today.
MAHDI YUSUF

Simple, Sane, and Sensible Logging in Python
Get started with Logging in Python or deploy advanced, flexible loggers without the boiler-plate code. Learn all about log2d, a third-party wrapper for the Python logging library.
PETE FISON • Shared by Pete Fison

PyCon US 2022 Recap and Recording Announcement
This posting contains a recap of PyCon US 2022 along with links to their YouTube channel containing many of the talks from the conference.
PYCON.BLOGSPOT.COM

Deepnote is the Best Way to Collaborate Around Your Data
Explore data with Python & SQL from your browser. Add context with data visualizations and rich text editing. Share analysis with stakeholders by simply sending a link.
DEEPNOTEsponsor

How to Set Up WebSockets in Starlette
Starlette is a relatively new entrant to the world of Python web frameworks. This blog post talks about how you can set up (and test) a WebSocket backend using Starlette.
SIDDHANT GOEL • Shared by Siddhant Goel

Should You Use Custom Exceptions in Python?
The article discusses whether or not to use custom exceptions in Python development. It shows how to create custom exceptions and when they can be useful.
MARCIN KOZAK • Shared by Marcin


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 →

django-emoji: Django App for Using Emojis on Your Site
GITHUB.COM/GAQZI

pycopy: Lightweight Python Dialect
GITHUB.COM/PFALCON

inline-sql: Inline SQL in Any Python Program
GITHUB.COM/EKZHANG

reals: Library for Arithmetic With Real Numbers
GITHUB.COM/RUBENVANNIEUWPOORT

absurd-django: Django in Pyodide Experiment
GITHUB.COM/PATRICK91

📆🐍 Upcoming Python Events


STL Python
November 2, 2022

NZPUG-Auckland: Crafting Software
November 2, 2022

Heidelberg Python Meetup
November 2, 2022

Weekly Real Python Office Hours Q&A (Virtual)
November 2, 2022

PyCon PL 2022
November 3 to November 7, 2022

PyCon Sweden
November 3 to November 5, 2022
Happy Pythoning!
Copyright © 2022 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

Python 3.11 Released, Dry Run Mode in Django, Defensive Coding, and More

Tuesday, October 25, 2022

Python 3.11: Cool New Features for You to Try #548 – OCTOBER 25, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.11: Cool New Features for You to Try Python 3.11 is out! In this article,

Chatbots, Testing in ML, Python Dev Survey, and More

Tuesday, October 18, 2022

ChatterBot: Build a Chatbot With Python #547 – OCTOBER 18, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo ChatterBot: Build a Chatbot With Python Chatbots can help to provide real-time customer

Python Memory Profiling, Dangerous Assert, Semaphores, and More

Tuesday, October 11, 2022

Using a Memory Profiler in Python & What It Can Teach You #546 – OCTOBER 11, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Using a Memory Profiler in Python & What It Can Teach You Have

Django and WebSockets, QR Codes, Ninja, and More

Tuesday, October 4, 2022

Building Chat With Django Channels and WebSockets #545 – OCTOBER 4, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Building Chat With Django Channels and WebSockets Building stateful web

Python as Mechanical Engineer, Heroku Alternatives, Django on Kubernetes, and More

Tuesday, September 27, 2022

Python as an Efficiency Tool for Non-Developers #544 – SEPTEMBER 27, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python as an Efficiency Tool for Non-Developers Are you interested in using

You Might Also Like

SWLW #592: Advice that I can't get out of my head, The Compass vs. Map method, and more

Friday, March 29, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

ASP.NET Core News - 03/29/2024

Friday, March 29, 2024

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! This newsletter is sponsored by elmah.io - the most advanced, yet so simple to set up, error logging and

New Linux Bug Could Lead to User Password Leaks and Clipboard Hijacking

Friday, March 29, 2024

THN Daily Updates Newsletter cover Refactoring in Java ($36.99 Value) FREE for a Limited Time Refactoring in Java serves as an indispensable guide to enhancing your codebase's quality and

Post from Syncfusion Blogs on 03/29/2024

Friday, March 29, 2024

New blogs from Syncfusion Introducing the New .NET MAUI Chat Control By Piruthiviraj Malaimelraj This blog explains the features of the new Syncfusion .NET MAUI Chat control added in the 2024 Volume 1

Re: Last Chance

Friday, March 29, 2024

Dear there, By this time tomorrow, your exclusive new subscriber discount will be gone and you'll have to pay twice as much to join Insider and master everything your iPhone has to offer. If, like

Hacker Newsletter #694

Friday, March 29, 2024

Always forgive your enemies - nothing annoys them so much. //Oscar Wilde hackernewsletter Issue #694 // 2024-03-29 // View in your browser Happy Easter if you celebrate it! Heads up - we're taking

Apple RCS 📱, SBF's 25 year sentence 👮, Linux Foundation's Redis fork 👨‍💻

Friday, March 29, 2024

RCS is coming to the iPhone in the fall of 2024 Sign Up|Advertise|View Online TLDR Together With Veracode TLDR 2024-03-29 Build fast, build secure (Sponsor) Software is drowning in security debt.

Data Science Weekly - Issue 540

Friday, March 29, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

This Week in Rust #540

Friday, March 29, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 540 — 27 MAR 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

The Value Of A Promise 🤞

Friday, March 29, 2024

How much is a promise from a tech company really worth, anyway? Here's a version for your browser. Hunting for the end of the long tail • March 28, 2024 The Value Of A Promise When you hear a