PyCoder - Best of PyCoder's 2023

#609 – DECEMBER 26, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo

A lot has happened in the Python ecosystem in 2023 and with our final issue of the year, we’re recapping the most popular links in PyCoders this year. That’s right, the most clicked articles, discussion, and the five most clicked projects as well.

Here’s to you, dear reader. Thanks for continuing to be with us at PyCoder’s Weekly. I’m sure 2024 will be just as interesting as 2023. And if in 2024 you come across a cool article or a project you think deserves notice, send it to us.

Happy Pythoning!

— The PyCoder’s Weekly Team
    Christopher Trudeau, Curator
    Dan Bader, Editor

Design and Guidance: Object-Oriented Programming in Python
In this video course, you’ll learn about the SOLID principles, which are five well-established standards for improving your object-oriented design in Python. By applying these principles, you can create object-oriented code that is more maintainable, extensible, scalable, and testable.
REAL PYTHON course

Python 3.12 Preview: More Intuitive and Consistent F-Strings
In this tutorial, you’ll preview one of the upcoming features of Python 3.12, which introduces a new f-string syntax formalization and implementation. The new implementation lifts some restrictions and limitations that affect f-string literals in Python versions lower than 3.12.
REAL PYTHON

Learning About Code Metrics in Python With Radon
Radon is a code metrics tool. This article introduces you to it and teaches you how you can improve your code based on its measurements.
MIKE DRISCOLL

Speeding Up Your Code When Multiple Cores Aren’t an Option
Parallelism isn’t the only answer: often you can optimize low-level code to get significant performance improvements.
ITAMAR TURNER-TRAURING


Discussions


“Why Python Is Terrible”
HACKER NEWS

Kill a Developer in 4 Words or Less 😂
Some favourites: “Let’s deploy this Friday!”, “Works on my machine!”, “You’ve got merge conflicts”
TWITTER


Python Jobs


Senior Python Architect and Tech Lead
SIX FEET UP 📍 AMERICA

Python Tutorial Editor
REAL PYTHON 📍 ANYWHERE

Software Engineer - Intern (Summer 2024)
CAUSEWAY CAPITAL MANAGEMENT 📍 DALLAS, TX, USA

More Python Jobs >>>


Articles & Tutorials


How to Catch Multiple Exceptions in Python
In this how-to tutorial, you’ll learn different ways of catching multiple Python exceptions. You’ll review the standard way of using a tuple in the except clause, but also expand your knowledge by exploring some other techniques, such as suppressing exceptions and using exception groups.
REAL PYTHON

78% MNIST Accuracy Using GZIP in Under 10 Lines of Code
MNIST is a collection of hand-written digits that is commonly used to play with classification algorithms. It turns out that some compression mechanisms can double as classification tools. This article covers a bit of why with the added code-golf goal of a small amount of code.
JAKOBS.DEV

ChatGPT: Your Personal Python Coding Mentor
Large language models have gained popularity since OpenAI released ChatGPT. In this tutorial, you’ll learn how to use ChatGPT as your Python coding mentor. You’ll study a variety of use cases, learn how to interpret results, and learn to beware of incorrect and irrelevant responses.
REAL PYTHON

SOLID Principles: Improve Object-Oriented Design in Python
In this tutorial, you’ll learn about the SOLID principles, which are five well-established standards for improving your object-oriented design in Python. By applying these principles, you can create object-oriented code that is more maintainable, extensible, scalable, and testable.
REAL PYTHON

Mojo, a Superset of Python
Mojo is a new programming language, which is a superset of Python. It aims to fix Python’s performance and deployment problems.
JEREMY HOWARD

6 Cool Things You Can Do With the functools Module
The functools module in the standard library has all sorts of useful bits and pieces. This article talks about six of them: caching, writing fewer dunder methods, freeze functions, generic functions, better decorators, and reduce().
BOB BELDERBOS

Discover bpython: A Python REPL With IDE-Like Features
In this tutorial, you’ll learn about bpython, an alternative Python REPL that brings code suggestions and many other IDE-like features to the terminal. Once you discover how much bpython can improve your productivity, you’ll never want to return to using the vanilla Python REPL again.
REAL PYTHON

Python Classes: The Power of Object-Oriented Programming
In this tutorial, you’ll learn how to create and use full-featured classes in your Python code. Classes provide a great way to solve complex programming problems by approaching them through models that represent real-world objects.
REAL PYTHON

How to Annotate Methods That Return self
In this tutorial, you’ll learn how to use the Self type hint in Python to annotate methods that return an instance of their own class. You’ll gain hands-on experience with type hints and annotations of methods that return an instance of their class, making your code more readable and maintainable.
REAL PYTHON

Boost Your Coding Productivity With Ptpython
Learn how to enhance your Python development workflow with auto-completion, syntax highlighting, history navigation, and more. In this tutorial, you’ll walk through the fundamentals of ptpython, covering installation, basic usage, and advanced features.
REAL PYTHON

AsyncIO: Why I Hate It
Charles is the creator of Peewee ORM and often gets the question “when will it support asyncio?” In this opinion piece he talks about why he doesn’t like asyncio and the alternatives he prefers.
CHARLES LEIFER opinion


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 →

nicegui: Create Web-Based UI With Python
GITHUB.COM/ZAUBERZEUG

Comprehensive Python Cheatsheet
GTO76.GITHUB.IO

csvkit: A Suite of CSV Utilities
GITHUB.COM/WIRESERVICE

pynimate: Python Package for Statistical Data Animations
GITHUB.COM/JULKAAR9

Cross Platform GUI Framework Based on HTML/CSS
GITHUB.COM/SCRIPTIOT • Shared by dragondjf

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

Hangman, TYPE_CHECKING, match, and More

Tuesday, December 19, 2023

Build a Hangman Game With Python and PySimpleGUI #608 – DECEMBER 19, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Build a Hangman Game With Python and PySimpleGUI In this step-by-step tutorial,

Code Reviews, Polars, PSF Communication Manager, and More

Tuesday, December 12, 2023

Exploring Code Reviews in Python and Automating the Process #607 – DECEMBER 12, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Code Reviews in Python and Automating the Process What goes

Advent of Code, Thread Pools, Jupyter AI, and More

Tuesday, December 5, 2023

Advent of Code: Solving Puzzles With Python #606 – DECEMBER 5, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Advent of Code: Solving Puzzles With Python Advent of Code is an online advent calendar

Inline Dependencies, Conway's Game of Life, Bug Categories, and More

Tuesday, November 28, 2023

Inline Dependencies for Small Python Scripts #605 – NOVEMBER 28, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Inline Dependencies for Small Python Scripts Sabs wanted the ability to specify

Learning Python in the Age of AI, Cores Dev Using Typing, Creating A Debugger, and More

Tuesday, November 21, 2023

Learning Python During an AI Revolution #604 – NOVEMBER 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Learning Python During an AI Revolution Has the current growth of artificial intelligence

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your