PyCoder - Special Python 3.12 Release Edition!

#597 – OCTOBER 3, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python 3.12: Cool New Features for You to Try
In this tutorial, you’ll learn about the new features in Python 3.12. You’ll explore how the new release extends the better error messages and faster code execution found in the previous version, and you’ll try out the improvements to f-strings and type variable syntax.
REAL PYTHON

Python 3.12: Static Typing Improvements
In this tutorial, you’ll see the new static typing features in Python 3.12. You’ll learn about the new syntax for type variables, making generics simpler to define. You’ll also see how @override lets you model inheritance and how you use typed dictionaries to annotate variable keyword arguments.
REAL PYTHON

Write Code as if Failure Doesn’t Exist
Temporal is an open source programming model that can simplify your code, make your applications more reliable, and allow you to deliver more features, faster. Check out the Temporal Python SDK Developer’s Guide to learn more and get started →
TEMPORALsponsor

Python 3.12: Subinterpreters
In this tutorial, you’ll see one of the new features of Python 3.12 and a proposed change to Python 3.13, addressing how subinterpreters work in the CPython program. The changes are described in PEP 684 and PEP 554.
REAL PYTHON

Python 3.12.0 Released
PYTHON.ORG

Python Developers Survey 2022 Results
JETBRAINS.COM


Discussions


AMA for Python in Excel
Folks at Microsoft participated in an Ask-Me-Anything session on the new Python in Excel over Azure feature. See also the Slashdot post which has a good summary.
REDDIT

PEP 722 and PEP 723 User Study Discussion
User studies were conducted on on PEP 722 – Dependency specification for single-file scripts and PEP 723 – Embedding pyproject.toml in single-file scripts , this discussion summarizes the results.
PYTHON.ORG


Articles & Tutorials


Considering ChatGPT’s Review of a Programming Book
What can you learn from feeding an entire book on Python programming into ChatGPT-4 and asking it to provide a technical review? What are the potential pitfalls of using an LLM as a learning tool? This week on the show, author Al Sweigart talks about his recent experiments using ChatGPT and Python.
REAL PYTHON podcast

Mojo: Head-to-Head With Python and Numba
This article covers a Mandelbrot-based benchmark of Python, variations of Numba, and the newly available Mojo. Although Mojo is fast it takes a lot more work than the author expected to translate Python to it, and with the right parameters Numba still beats it.
MAXIM SAPLIN

Host Your Web Application With Ease With Taipy Cloud
Taipy, the open-source Python web application builder, provides the most suitable cloud tool to host, deploy, and share your Taipy applications easily. In addition, this platform provides the ability to manage, store, and maintain the various states of your backend →
TAIPYsponsor

Exploring Wordle
Explores how to programmatically find eligible answers for a Wordle game using Python, based on some guess-score pairs. Works through various bugs and subtleties, showing how to infer tighter constraints and explain why words were rejected.
GEORGE REILLY • Shared by George Reilly

Most Copied StackOverflow Snippet Is Flawed!
“In a recent study titled Usage and Attribution of Stack Overflow Code Snippets in GitHub Projects, an answer I wrote almost a decade ago was found to be the most copied snippet on Stack Overflow. Ironically it happens to be buggy.”
ANDREAS LUNDBLAD

The Scientific-Python Development Guide
This article talks about the release of the “Scientific-Python Development Guide” which documents Python package development. It includes cookie-cutter templates and repo tools.
SCIENTIFIC-PYTHON.ORG • Shared by Henry Schreiner

3 IRL Use Cases for Python and HTMX
This blog post summarizes three recent uses where the author has applied HTMX to his websites, and how they simplified his process.
BITE CODE

Fighting With Python Type Hints
Miloslav wanted to properly type-hint a decorator. Turns out, it wasn’t the easiest thing to do. Read on for his solution.
MILOSLAV POJMAN

AB Testing 101
A comprehensive deep dive on AB Testing including the math behind knowing whether your tests are significant.
JONATHAN FULTON

In a Git Repository, Where Do Your Files Live?
Write some Python to explore the data objects Git uses to store your content.
JULIA EVANS


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 →

Concourse Tools: Custom Resource Types for Concourse CI
GITHUB.COM/GCHQ • Shared by GCHQ

Baserow: OSS Airtable Alternative
GITLAB.COM/BASEROW

pyobd: Open Source Obd2 Auto Diagnostics Program
GITHUB.COM/BARRACUDA-FSH

upiano: A Piano in Your Terminal
GITHUB.COM/ELIASDORNELES

PyWa: Building Bots Using the WhatsApp Cloud API
GITHUB.COM/DAVID-LEV • Shared by David Lev

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
October 4, 2023

PyConZA 2023
October 5 to October 7, 2023

Canberra Python Meetup
October 5, 2023

Sydney Python User Group (SyPy)
October 5, 2023

PyCon ES Canarias 2023
October 6 to October 9, 2023

Django Day Copenhagen 2023
October 6 to October 7, 2023

DjangoCongress JP 2023
October 7 to October 8, 2023
Happy Pythoning!
Copyright © 2023 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

Older messages

SOLID OOP, Code Metrics, Speed Up Your Code, and More

Tuesday, September 26, 2023

Design and Guidance: Object-Oriented Programming in Python #596 – SEPTEMBER 26, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Design and Guidance: Object-Oriented Programming in Python In this

Inheritance, CPython Release Process, Folium, and More

Tuesday, September 19, 2023

Inheritance and Internals: Object-Oriented Coding in Python #595 – SEPTEMBER 19, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Inheritance and Internals: Object-Oriented Coding in Python In this

Genetic Algorithms, Beautiful QR Codes, Mr Null, and More

Tuesday, September 12, 2023

Playing With Genetic Algorithms in Python #594 – SEPTEMBER 12, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Playing With Genetic Algorithms in Python A Genetic Algorithm (GA) is an AI technique

Wordle Clone, Polar Histograms, Protocol Buffers, and More

Tuesday, September 5, 2023

Create a Python Wordle Clone With Rich #593 – SEPTEMBER 5, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Create a Python Wordle Clone With Rich In this step-by-step project, you'll build your

Concurrency, Arguments, Flask, and More

Tuesday, August 29, 2023

Asyncio, Twisted, Tornado, Gevent Walk Into a Bar… #592 – AUGUST 29, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio, Twisted, Tornado, Gevent Walk Into a Bar… A good introduction to I/O

You Might Also Like

📧 Did you want this discount?

Thursday, May 2, 2024

Your chance to save on MMA is about to end. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Scoop: Tiger Global-backed Innovaccer in talks to raise $250M

Wednesday, May 1, 2024

Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2

Wednesday, May 1, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon

Arc for Windows is better than Chrome

Wednesday, May 1, 2024

Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better

Is TikTok trying to get banned from the App Store early?

Wednesday, May 1, 2024

TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and