Issue #504

Python Exceptions, Poetry, Steering Council Elections, and More

Dec. 21, 2021

Python Exceptions, Poetry, Steering Council Elections, and More
#504 – DECEMBER 21, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Raising and Handling Python Exceptions
In this course, you’ll learn what an exception is and how it differs from a syntax error. You’ll learn about raising exceptions, making assertions, and catching exceptions to change the control flow of your program using the try, except, else, and finally keywords.
REAL PYTHON course

LISP With GC, in 436 Bytes
This one isn’t about Python specifically, but worth a read because it’s so mindblowingly cool: A LISP interpreter that’s tiny enough to fit in a 512-byte master boot record.
JUSTINE TUNNEY

Shortcut Provides Speedy Task Management, Reporting, and Collaboration for Software Teams
Shortcut is project management built for developers. Whether you’re a startup that iterates quickly by providing every engineer with a free pallet of Red Bull, or a large org that has strict ship dates to hit, give us a try for free →
SHORTCUTsponsor

Dependency Management With Poetry
Learn how Poetry will help you start new projects, maintain existing ones, and master dependency management.
REAL PYTHON

2022 Python Steering Council Election Results
PYTHON.ORG


Discussions


py4jshell: Simulating Log4j Remote Code Execution
Simulating the Log4j Remote Code Execution (RCE) vulnerability in a Flask web server using Python’s logging library with custom formatter that simulates lookup substitution by executing remote exploit code. (This is not a vulnerability in Python’s logging library. It’s a simulation of the Log4j vulnerability meant as a teaching tool.)
REDDIT

Can a Function and Local Variable Have the Same Name?
STACK OVERFLOW


Python Jobs


Senior Software Engineer
BREW 📍 ANYWHERE

Sr DevOps Engineer
TARA TECHINCAL SOLUTIONS 📍 SAN JOSE, CA, USA

Senior Python Developer
SIX FEET UP 📍 ANYWHERE

Senior Backend Engineer
BMAT 📍 ANYWHERE

Senior Software Engineer
BRAVELY 📍 ANYWHERE

Python Backend Engineer
MADEWITHLOVE 📍 HASSELT, BELGIUM

More Python Jobs >>>


Articles & Tutorials


A Python Journey: Cyber Security, Automating AWS, and TDD
The Python community continually grows, with many users coming from different languages and backgrounds. This week on the show, developer Hugh Tipping talking about his Python journey. Hugh is also a member of the Real Python community.
REAL PYTHON podcast

Everything I Googled in a Week as a Professional Software Engineer
“In an attempt to dispel the idea that if you have to google stuff you’re not a proper engineer, this is a list of nearly everything I googled in a week at work, where I’m a software engineer with several years’ experience.”
SOPHIE KOONIN

Developer-First Infrastructure Using Python and Pulumi
Developing on the cloud is complex. What if you could use your existing programming knowledge to build, deploy, and manage infrastructure on any cloud using your favorite languages and tools? With Pulumi you can. Get started for free at pulumi.com →
PULUMIsponsor

Jupyter Games With Ipycanvas and Box2D
“While Jupyter is widely used as a scientific and educational tool, Jupyter is seldom used as a platform for game development. In this blog post, we show how Jupyter can be used to develop tiny games based on Box2D.”
THORSTEN BEIER

Visualizing Formula 1 Results in Python Using the Ergast API and Seaborn
“For those wanting to get into Formula 1 data analysis, the Ergast API is a very good starting point. It provides you with clean, easily accessible data that can relatively easily be processed.”
JASPER • Shared by Python Bytes FM

Scripting Minecraft server with Python
“Minecraft has an API. If you run your own server you can program it from Python. Here are notes from how I set it up. It’s a lot of fun to make things happen in Minecraft with Python.”
GRAHAM KING

Wikipedia as the Data Source: Taming the Irregular
On challenges of designing the “query language” for a human-readable encyclopedia.
VICTOR SHEPELEV

SonarLint Free and Open Source IDE Extension for Python Devs
Working in VS Code, PyCharm, Visual Studio, or Eclipse? SonarLint helps you find & fix Code Quality and Code Security issues in your Python codebase!
SONARSOURCEsponsor

Extending Pandas
An introduction to extension mechanisms in the Pandas library.
BRYAN P WOOD • Shared by Bryan P Wood

Using JavaScript-style Async Promises in Python
MIGUEL GRINBERG

Implementing RSA in Python From Scratch
CODEROASIS.COM

Fixing Memory Leaks in Popular Python Libraries
PAUL BROWN

Annotated Explanation of David Beazley’s dataklasses
SIMON WILLISON


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 →

fiber: Decorator That Enables Arbitrarily-Deep Tail/Non-Tail Recursion
GITHUB.COM/TYLERHOU

dataklasses: A Different Spin on Dataclasses
GITHUB.COM/DABEAZ

tqdm: Smart Progress Meter for Python CLI Apps
TQDM.GITHUB.IO

pixray: Image Generation System
GITHUB.COM/PIXRAY

drgn: Programmable Debugger
GITHUB.COM/OSANDOV

📆🐍 Upcoming Python Events


PythOnRio Meetup
December 25, 2021

Inland Empire Pyladies (CA, USA)
December 27, 2021

Introduction to the Python Programming Language (In Persian)
December 28, 2021

Weekly Real Python Office Hours Q&A (Virtual)
January 5, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.