#494 – OCTOBER 12, 2021
View in Browser »
ZDNet reports that Python “is now the most popular language, according to one popularity ranking.” “For the first time in more than 20 years we have a new leader of the pack…” the TIOBE Index announced this month. “The long-standing hegemony of Java and C is over.”
“The PyObject structure prevents indirectly to optimize CPython. We will see why and how I prepared the C API to make this structure opaque. It took me 1 year and a half to add functions and to introduce incompatible C API changes (fear!)”
Datadog’s Continuous Profiler allows you to measure code performance changes over time. Quickly identify and optimize the most time- and resource-consuming parts in your application code in order to improve MTTR and enhance user experience. Give it a try with a free trial →
In this course, you’ll build a clone of the Asteroids game in Python using Pygame. Step by step, you’ll add images, input handling, game logic, sounds, and text to your program.
REAL PYTHON course
Python 3.10 is here! This week on the show, two former guests and Real Python authors return to talk about the new features and changes in Python 3.10.
REAL PYTHON podcast
Articles & Tutorials
In this tutorial, you’ll learn about the Fraction data type in Python, which can represent rational numbers precisely without the rounding errors in binary arithmetic. You’ll find that this is especially important in financial and other high-precision applications.
“If you’re embarrassed at debugging with print(), please don’t be – it’s perfectly fine! Many bugs are easily tackled with just a few checks in the right places. As much as I love using a debugger, I often reach for a print() statement first.”
Scale data for your Django, Flask, FastAPI apps with our multi-cloud, serverless DBaaS–built on Apache Cassandra™. Painless APIs, free for developers. Get 80 Gigabytes of Storage Free Every Month. Explore Astra DB now →
In this step-by-step tutorial, you’ll learn how to use Python’s sum() function to add numeric values together. You also learn how to concatenate sequences, such as lists and tuples, using sum().
“Python has a whole lot of builtins that are unknown to most people. This guide aims to introduce you to everything that Python has to offer, through its seemingly obscure builtins.”
Learn how to create a PDF with Python and ReportLab. You’ll learn about Canvas methods, PLATYPUS, Paragraphs, Tables and more.
Arduino users worldwide agree that Dr.Duino kits are the easiest way to design and debug projects. Build amazing projects without even needing a breadboard. Right now, get a FREE Arduino boot camp course with every kit. (Limited to the first 200 kits)
Projects & Code
This was PyCoder’s Weekly Issue #494.
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 ]