| 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.
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.
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 →
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.
Python 3.12.0 Alpha 1 Released
PyCon US 2023 Call for Proposals
Favorite New Python 3.11 Feature?
REAL PYTHON ON TWITTER
Python 3.11 Is Faster Than 3.8
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.
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 →
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.
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.
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.
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.
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
pycopy: Lightweight Python Dialect
inline-sql: Inline SQL in Any Python Program
reals: Library for Arithmetic With Real Numbers
absurd-django: Django in Pyodide Experiment