| Build a Scalable Flask Web Project From Scratch
In this tutorial, you’ll explore the process of creating a boilerplate for a Flask web project. It’s a great starting point for any scalable Flask web app that you wish to develop in the future, from basic web pages to complex web applications.
JIT Coming to Python 3.13
Slides related to the upcoming JIT commit for Python 3.13. Note, GitHub paginates it if you don’t download it, so click the “More Pages” button to keep reading.
The Biggest Discoveries in Computer Science in 2023
Although 2023 was full of AI news in computer science, it wasn’t the only news. This article summarizes the breakthroughs in 2023.
PyCon US Received Record Number of Submissions
Senior Python Architect and Tech Lead
SIX FEET UP 📍 AMERICA
Python Tutorial Editor
REAL PYTHON 📍 ANYWHERE
More Python Jobs >>>
Articles & Tutorials
Python, C, Assembly – 2,500x Faster Cosine Similarity
Cosine similarity is a check to see if two vectors point in the same direction, regardless of magnitude. This test is frequently used in some machine learning algorithms. This article details the various steps in speeding up the code, starting with vanilla Python and going all the way down to hand tuned assembly language.
PyCoder’s Weekly 2023 Wrap Up
It’s been a fascinating year for the Python language and community. PyCoder’s Weekly included over 1,500 links to articles, blog posts, tutorials, and projects in 2023. Christopher Trudeau is back on the show this week to help wrap up everything by sharing some highlights and Python trends from across the year.
REAL PYTHON podcast
Python’s Soft Keywords
Python includes soft keywords: tokens that are important to the parser but can also be used as variable names. This article shows you what a soft keyword is and how to find them in Python 3.12 (both the easy and hard way).
RODRIGO GIRÃO SERRÃO
The State of Developer Ecosystem in 2023
This is a cross-language developer survey of tools used in the industry. It includes questions about AI adoption, cloud tools, and more. 54% of respondents use Python as their most frequent language.
Build an Instant Messaging App With Django
This articles shows you how to take advantage of some the newer async mechanisms in Django to build a messaging app. Things that used to require a third party library are now part of the framework.
TOM DEKAN • Shared by Tom Dekan
Majority and Frequent Elements: Boyer Moore and Misra Gries
The Boyer-Moore majority vote algorithm looks for an element that appears more than n/2 times in a sequence using O(n) time. This article shows you how it works using Python code.
GITHUB.COM/NAUGHTYCONSTRICTOR • Shared by Mohammed Younes ELFRAIHI
Why Should You Become an Engineering Manager?
Many developers dread the idea of becoming a manager, but there are some things you can only learn by doing. This article outlines why management might be the right thing for you.
Banish State-Mutating Methods From Data Classes
Redowan has strong opinions on reserving dataclasses for data-class purposes only: their methods should have no data modification side-effects. This article outlines why.
Django 5.0 Is Out!
Django 5 was recently released and this in-depth article covers what changed, how to upgrade from an earlier version, and how the Django version numbering system works.
How Many CPU Cores Can You Actually Use in Parallel?
“Figuring out how much parallelism your program can use is surprisingly tricky.” This article shows you why it is complicated and what you can determine.
pip to Use
A quick tip on how to set an environment variable so that
pip refuses to install a package unless in an active virtual environment.
DANIEL ROY GREENFIELD
Configuration in Python Applications
This post talks about how to store configuration for your script and how and when to load the information into your program.
Raise the Right Exceptions
Knowing when to raise the right exception is important, but often you don’t have to: Python might do it for you.
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 →
pyapp: Build Self-Bootstrapped Python Applications
django-tui: Inspect and Run Django Commands in a TUI
cicada: FOSS, Cross-Platform GitHub Actions
marker: Convert PDF to Markdown
Amphion: Toolkit for Audio, Music, and Speech Generation