#500 – NOVEMBER 23, 2021
View in Browser »
The Python community gave a warm welcome to Python 3.10 in October 2021. In this article, you’ll catch up on some big events that happened this past month, including Python being named TIOBE’s most popular programming language.
”[…] measuring web application performance is incredibly complex […] In this article you can see the results of my effort in understanding and fixing this benchmark, re-running it, and finally arriving at a shocking revelation.”
MIGUEL GRINBERG • Shared by Caleb Hattingh
In this step-by-step course, you’ll build a neural network from scratch as an introduction to the world of artificial intelligence (AI) in Python. You’ll learn how to train your neural network and make accurate predictions based on a given dataset.
REAL PYTHON course
Protocols in Python provide a nice way to use duck typing while still having some static type guarantees. You can define contracts for your functions without caring too much about the actual types of your inputs.
The minimax algorithm and alpha-beta pruning can be used to implement AIs to play games. This tutorial will teach you about the minimax algorithm and alpha-beta pruning, from a beginner’s perspective.
RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão
The PyPI team is seeking feedback from teams using PyPI. If you use PyPI as a team, consider responding to the (short) poll form at the link.
Articles & Tutorials
Have you wanted to work with RSS feeds in Python? Maybe you’re looking for a new project to build for your portfolio that uses Django, unit tests, and custom commands. This week on the show, it’s Real Python author Ricky White talking about his recent step-by-step project titled, “Build a Content Aggregator in Python.”
REAL PYTHON podcast
Is it enough to run code coverage for a single Python version? Probably, but not necessarily. While this is or was a super important topic when you still needed to support Python 2, also now this is still valid as Python 3 moves forward quickly and requires to have different code paths for different versions.
JÜRGEN GMACH • Shared by Jürgen Gmach
CData makes it easier to unlock the value of data — simplifying connectivity between applications and data sources. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise and cloud databases, SaaS, APIs, NoSQL and more. Visit cdata.com to learn more →
CDATA SOFTWARE sponsor
An interview with Eric Wastl, a Senior Architect at TCGPlayer and the founder of Advent of Code (AoC). Join us as we discuss the inception of AoC, how to avoid common pitfalls when solving code challenges in AoC, and what Eric gets up to in the “3.8 seconds” of free time he has per year.
In this step-by-step course, you’ll learn how Python’s .append() works and how to use it for adding items to your list in place. You’ll also learn how to code your own stacks and queues using .append() and .pop().
REAL PYTHON course
Introduction into game development with Python by writing a simple Tic Tac Toe game. Best development practices and designed patterns are included into this step-by-step tutorial.
MISHA BEHERSKY • Shared by Misha Behersky
This article explains how views differ from materialized views and shows how using Postgres views makes querying aggregated data easier and (with materialized views) faster.
JOSH ALLETTO • Shared by Manuel Weiss
“I used to play Minecraft as a kid and I always wondered how does it generate never-ending worlds. In this article, I am going to try to replicate this in Python.”
This article compares the three main string formatting methods in Python and suggests which methods to use in each situation.
RODRIGO GIRÃO SERRÃO
Hired is home to thousands of companies from startups to Fortune 500s actively hiring developers, data scientists, mobile engineers & more. Create a profile & let hiring managers reach out to you. It’s completely free for job-seekers, so don’t wait!
“Conda installs are very slow, but you can speed them with a much-faster Conda reimplementation called Mamba.”
A small recap on how the author added type annotations to the Logilab’s RQL package.
PATRICK NSUKAMI • Shared by Patrick Nsukami
Here is a tiny Python example that creates a self-referential list…
Projects & Code
GITHUB.COM/GAOGAOTIANTIAN • Shared by Tian Gao
November 30, 2021
This was PyCoder’s Weekly Issue #500.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]