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

Your Phone’s Other Number 📱

Saturday, April 27, 2024

Let's talk about your phone's IMEI number. Here's a version for your browser. Hunting for the end of the long tail • April 27, 2024 Today in Tedium: As you may know, Tedium is a blog and/or

🕹️ How to Play Retro Games for Free on iPhone — Why I Can't Live Without an eReader

Saturday, April 27, 2024

Also: Anker MagGo (Qi2) Power Bank Review, and More! How-To Geek Logo April 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — The Bob Ross of programming

Saturday, April 27, 2024

This week we use coffee tasting as our design practice, get as close to and as far away from the metal as possible, find an easier way to write documentation, discover why Google Search is getting so

Issue #538: All the Jam entries, Panthera 2, and Tristram

Saturday, April 27, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #538 - April 26th 2024 If you have anything you want to share with the HTML5 game

Daily Coding Problem: Problem #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.